

/* ---------- БАЗОВЫЙ СБРОС ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- МЕДИА ---------- */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* ---------- ФОРМЫ ---------- */
input,
button,
textarea,
select {
    font: inherit;
}

/* ---------- КУРСОР ---------- */
* {
    cursor: default;
}
a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
select {
    cursor: pointer;
}

/* ---------- ТЕКСТ ---------- */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ---------- ССЫЛКИ ---------- */
a {
    text-decoration: none;
    color: inherit;
}

/* ---------- СПИСКИ ---------- */
ul,
ol {
    list-style: none;
}

/* ---------- КНОПКИ ---------- */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* ---------- ТАБЛИЦЫ ---------- */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ---------- УБИРАЕМ СТРЕЛКИ У NUMBER INPUT ---------- */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}




/* ---------- СКРОЛБАР ---------- */
::-webkit-scrollbar {
    width: 4px;          
    height: 4px;         
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;     
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;     
}
/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbcbcb #f1f1f1;
}