@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");

:root {
    font-family: "Roboto", system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: #000;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    /* --primary: #116AF0; */
    --primary: #1c1b1f;
    /* --onPrimary: #005BE2; */
    --onPrimary: #303030;
    --dark-blue: #0c0150;
    --surface: #fefefe;
    --bg: #f5f5f5;
    --onBg: #e3edfd;
    /* --red: #F12626; */
    --onRed: #f12626;
    --red: #ff6767;
    /* --green: #85DE83; */
    --green: #57e17e;
    --poison-green: #4ae723;
    --black: #1c1b1f;
    --grey: #7e818c;
    --onBlack: #333;
    --disabled: #bfbfbf;
    --onDisabled: #d9d9d9;
    --badge-blue: #67a4ff;
    --badge-green: #4bd859;
    /* --badge-green-2: #2FAA2C; */
    --badge-pink: rgb(251, 33, 117);
    --badge-violet: #7f43dc;
    --badge-violet-2: #a300ff;
    --white-violet: #a59ae6;
    --white-blue: #b1ccff;
    
    --notify-green: #36c15d;
    --notify-violet: #8321ff;
    --notify-violet-2: #a300ff;
}
* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg);
    scroll-behavior: smooth;
}
*::-webkit-scrollbar {
    width: 4px;
}
*::-webkit-scrollbar-track {
    background: var(--bg);
}
*::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 20px;
    border: 3px solid var(--primary);
}
*::-webkit-scrollbar-thumb:hover {
    background-color: var(--onPrimary);
    border: 3px solid var(--onPrimary);
}
*::-webkit-scrollbar-thumb:active {
    background-color: var(--disabled);
    border: 3px solid var(--disabled);
}
html,
body {
    position: relative;
    background: var(--bg);
    padding: 0;
    margin: 0;
    font:
        400 14px/20px "Roboto",
        sans-serif;
    min-height: 100vh;
    height: 100%;
    color: var(--font);
    background: #f5f5f5;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1000px;
}
.bg {
    background: var(--surface);
}
.surface {
    background: var(--surface);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0px 3px 28px rgba(150, 150, 150, 0.11);
}
@media (min-width: 992px) {
    .lg-surface {
        background: var(--surface);
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0px 3px 28px rgba(150, 150, 150, 0.11);
    }
}
@media (max-width: 991px) {
    .surface,
    .sm-surface {
        background: var(--surface);
        padding: 10px;
        border-radius: 16px;
        box-shadow: 0px 3px 28px rgba(150, 150, 150, 0.11);
    }
}
/* ----------------------- Списки, Кнопки -----------------------*/
ul.reset {
    list-style: none;
    padding: 0;
}
.bold {
    font-weight: 500 !important;
}
.bolder {
    font-weight: 600 !important;
}
.bold.reset,
.bolder.reset {
    font-weight: 400 !important;
}
button,
label,
.btn {
    font: inherit;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    line-height: 1.37;
    color: inherit;
    cursor: pointer;

    &.primary {
        --color: var(--primary);
        --text: #fff;
        --onColor: var(--onPrimary);
    }
    &.violet {
        --color: var(--badge-violet);
        --text: #fff;
        --onColor: var(--badge-violet-2);
    }
    &.red {
        --color: var(--red);
        --text: #fff;
        --onColor: var(--red);
    }
    &.black {
        --color: var(--black);
        --text: #fff;
        --onColor: var(--onBlack);
    }
    &.green {
        --color: var(--green);
        --text: #fff;
        --onColor: var(--green);
    }
    &.grey {
        --color: var(--grey);
        --text: #fff;
        --onColor: var(--grey);
    }
    &.white {
        --color: var(--bg);
        --text: var(--black);
        --onColor: var(--onBg);
    }
    &.border {
        background: none;
        border: 1px solid var(--color);
        color: var(--color);
    }
    &.text {
        border: none;
        background: none;
        color: var(--color);

        &:hover {
            color: var(--onColor);
        }
    }
    &.filled,
    &.onFilled:hover {
        background: var(--color);
        border: 1px solid var(--color);
        color: var(--text);
    }
    &:not(.text) {
        padding: 7px 14px;
        @media (min-width: 768px) {
            padding: 10px 30px;
        }
        border-radius: 10px;
    }
    &:not(.text):hover {
        background: var(--onColor);
        color: var(--text);
    }
    &.reset {
        padding: 0;
    }
    &[disabled],
    &[disabled]:hover {
        cursor: not-allowed;
        background: var(--disabled);
        color: var(--surface);
        border-color: #0000;
    }
}
label.disabled {
    cursor: default;
}
/* ----------------------- Заголовки -----------------------*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    line-height: 1.6;
    &.reset {
        margin: 0;
    }
    &.bold {
        font-weight: 600;
    }
}
h1,
.h1 {
    font-size: 2.285rem;
}
h2,
.h2 {
    font-size: 1.714rem;
}
h3,
.h3 {
    font-size: 1.428rem;
}
h4,
.h4 {
    font-size: 1.285rem;
}
a {
    text-decoration: none;
    color: var(--primary);

    &.primary,
    &.onPrimary:hover {
        color: var(--primary);
    }
    &.red {
        color: var(--red);
    }
    &.reset {
        color: inherit;
    }
}
p.reset {
    margin: 0;
}
/* ----------------------- Поля форм -----------------------*/
input,
textarea,
select {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 8px 10px;
    color: inherit;
    font: inherit;

    &.reset {
        border: none;
        background: none;
        outline: none;
    }
}
