/* ============================================================
   Atlas вЂ” РіСЂР°С„РёС‚ Рё СЏРЅС‚Р°СЂСЊ.
   Р—Р°РіСЂСѓР¶Р°РµС‚СЃСЏ РїРѕСЃР»Рµ responsive.css Рё Р·Р°РґР°С‘С‚ РІРёР·СѓР°Р»СЊРЅС‹Р№ СЃР»РѕР№.
   ============================================================ */

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
        U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --a-bg: #1B1D1F;
    --a-panel: rgba(52, 56, 60, .62);
    --a-panel-solid: #23262A;
    --a-panel-soft: rgba(255, 255, 255, .035);
    --a-line: rgba(255, 255, 255, .10);
    --a-line-strong: rgba(255, 255, 255, .16);
    --a-text: #ECEAE4;
    --a-muted: #A8A69C;
    --a-dim: #8E8C82;
    --a-amber: #D4A017;
    --a-amber-2: #E0B03A;
    --a-amber-3: #EBC55F;
    --a-amber-soft: rgba(212, 160, 23, .18);
    --a-danger: #F0B4B4;
    --a-radius: 22px;
    --a-radius-sm: 14px;

    /* СЃС‚Р°СЂС‹Рµ РїРµСЂРµРјРµРЅРЅС‹Рµ, С‡С‚РѕР±С‹ РЅРµ РѕСЃС‚Р°Р»РѕСЃСЊ СЃРІРµС‚Р»С‹С… РїСЏС‚РµРЅ */
    --bg: #1B1D1F;
    --card: #23262A;
    --text: #ECEAE4;
    --muted: #A8A69C;
    --line: rgba(255, 255, 255, .10);
    --accent: #D4A017;
    --accent-dark: #B8860B;
    --brand: #D4A017;
    --brand-dark: #B8860B;
    --brand-soft: #23262A;
    --shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 160, 23, .55) rgba(255, 255, 255, .05);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
}
*::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 23, .5);
    border-radius: 10px;
}

::selection {
    background: rgba(212, 160, 23, .35);
    color: #fff;
}

body {
    background:
        radial-gradient(620px 420px at 90% -8%, rgba(212, 160, 23, .26), transparent 62%),
        radial-gradient(520px 420px at -10% 95%, rgba(160, 120, 40, .18), transparent 60%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
        #1B1D1F !important;
    background-attachment: fixed !important;
    color: var(--a-text) !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        Roboto, Arial, sans-serif !important;
    font-size: 15px;
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(212, 160, 23, .12), rgba(52, 56, 60, .38));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
    opacity: .55;
}
body::before {
    width: 170px;
    height: 130px;
    right: -40px;
    top: 70px;
    transform: rotate(10deg);
}
body::after {
    width: 150px;
    height: 112px;
    left: -50px;
    top: 250px;
    transform: rotate(-9deg);
}

#wrapper {
    z-index: 1;
}

.slider {
    display: none !important;
}

/* ---------- РЁР°РїРєР° Рё Р»РѕРіРѕС‚РёРї ---------- */

#header {
    background: transparent !important;
    color: var(--a-text) !important;
}

#logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#logo img {
    width: 200px !important;
    height: auto !important;
}

#logo a {
    display: inline-flex;
    align-items: center;
}

body.login-page #logo {
    display: none !important;
}

/* РљСЂСѓРїРЅС‹Р№ Р±СЂРµРЅРґ РЅР° СЌРєСЂР°РЅРµ РІС…РѕРґР° вЂ” РєР°Рє РІ РјР°РєРµС‚Рµ Atlas */
.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 4px auto 22px;
    text-align: center;
}

.login-brand-icon {
    width: 68px !important;
    height: 68px !important;
    filter: drop-shadow(0 12px 28px rgba(212, 160, 23, .22));
}

.login-brand-title {
    margin-top: 8px;
    color: var(--a-text);
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.8px;
}

.login-brand-sub {
    color: var(--a-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

body.login-page #header {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

/* ---------- РџР°РЅРµР»СЊ РїРѕР»СЊР·РѕРІР°С‚РµР»СЏ Рё РєР°С‚РµРіРѕСЂРёР№ ---------- */

.Page {
    background: var(--a-panel) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32) !important;
    backdrop-filter: blur(14px);
    color: var(--a-text) !important;
}

.Page details.panel {
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 16px !important;
}

.Page details.panel > summary {
    color: var(--a-text) !important;
}

.Page details.panel > summary::after {
    color: var(--a-amber-3) !important;
}

.Page .panel-title {
    color: var(--a-muted) !important;
}

.Page .panel-summary {
    color: var(--a-text) !important;
}

.user-name {
    color: var(--a-text) !important;
}

.user-role {
    color: var(--a-amber-3) !important;
    letter-spacing: .12em;
}

/* ---------- РљРЅРѕРїРєРё ---------- */

body .button {
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
    border-radius: 12px !important;
    box-shadow: none;
}

body .button:hover {
    background: rgba(255, 255, 255, .13) !important;
    border-color: rgba(255, 255, 255, .2) !important;
}

body .button.primary {
    background: linear-gradient(135deg, #B8860B, #E0B03A) !important;
    border-color: transparent !important;
    color: #1B1608 !important;
    box-shadow: 0 8px 24px rgba(212, 160, 23, .3) !important;
}

body .button.primary:hover {
    background: linear-gradient(135deg, #A87810, #D4A017) !important;
}

body .button.ghost {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .18) !important;
    color: var(--a-text) !important;
}

body .button.ghost:hover {
    background: rgba(255, 255, 255, .07) !important;
}

body .button.exit {
    background: rgba(200, 80, 80, .16) !important;
    border-color: rgba(200, 80, 80, .28) !important;
    color: #F1B6B6 !important;
}

body .button.exit:hover {
    background: rgba(200, 80, 80, .25) !important;
}

body .button.category-button {
    color: var(--a-muted) !important;
}

body .button.category-button.is-active {
    background: linear-gradient(135deg, #B8860B, #E0B03A) !important;
    border-color: transparent !important;
    color: #1B1608 !important;
    box-shadow: 0 8px 22px rgba(212, 160, 23, .24) !important;
}

body .button.edit-toggle {
    background: rgba(212, 160, 23, .13) !important;
    border-color: rgba(212, 160, 23, .3) !important;
    color: var(--a-amber-3) !important;
}

body .button.edit-toggle.is-active {
    background: rgba(212, 160, 23, .28) !important;
    color: #1B1608 !important;
}

body .button.small {
    color: var(--a-text) !important;
}

/* ---------- Р­РєСЂР°РЅ РІС…РѕРґР° ---------- */

.login-card {
    background: var(--a-panel) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 26px !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .4) !important;
    color: var(--a-text) !important;
    backdrop-filter: blur(16px);
}

.login-card h1 {
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
}

.login-form label {
    color: var(--a-muted) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    height: 52px;
    background: rgba(20, 21, 23, .72) !important;
    border: 1px solid #44494E !important;
    border-radius: 14px !important;
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px;
    box-sizing: border-box;
}

.login-form input::placeholder {
    color: #8E8C82 !important;
}

.login-form input:focus {
    border-color: var(--a-amber) !important;
    outline: 2px solid rgba(212, 160, 23, .22) !important;
    outline-offset: 0;
}

.login-form .checkbox {
    color: var(--a-muted) !important;
    font-size: 13px;
}

.login-form .checkbox input {
    accent-color: var(--a-amber);
}

.login-form .button {
    height: 54px;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #B8860B, #E0B03A) !important;
    color: #1B1608 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 28px rgba(212, 160, 23, .32) !important;
}

.login-error {
    background: rgba(200, 80, 80, .15) !important;
    border: 1px solid rgba(200, 80, 80, .3) !important;
    color: #F2B8B8 !important;
    border-radius: 12px;
}

.login-subtitle,
.login-note {
    color: var(--a-muted) !important;
}

/* ---------- РЎС‚СЂР°РЅРёС†Р° Рё С‚Р°Р±Р»РёС†Р° ---------- */

#page,
#page.bigslider {
    background: var(--a-panel) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 26px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(14px);
}

#content {
    color: var(--a-text) !important;
}

.table-responsive {
    background: transparent !important;
}

table.data-table {
    background: transparent !important;
}

table.data-table thead {
    background: #23262A !important;
}

body table.data-table thead th {
    background: #23262A !important;
    border-bottom: 1px solid var(--a-line) !important;
    color: var(--a-muted) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body table.data-table th,
body table.data-table td {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    color: var(--a-text) !important;
}

body table.data-table tbody tr {
    background: rgba(255, 255, 255, .025) !important;
}

body table.data-table tbody tr:hover td {
    background: rgba(255, 255, 255, .055) !important;
}

body table.data-table td.column1 {
    color: var(--a-text) !important;
    font-weight: 700 !important;
}

body table.data-table td.column2 {
    color: var(--a-muted) !important;
}

body table.data-table thead th input.str,
body table.data-table thead th input.num {
    background: rgba(20, 21, 23, .72) !important;
    border: 1px solid #44494E !important;
    border-radius: 12px !important;
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body table.data-table thead th input.str::placeholder,
body table.data-table thead th input.num::placeholder {
    color: #8E8C82 !important;
}

body table.data-table thead th input.str:focus,
body table.data-table thead th input.num:focus {
    outline: 2px solid rgba(212, 160, 23, .22) !important;
    border-color: var(--a-amber) !important;
}

.records-summary {
    color: var(--a-muted) !important;
}

.records-summary strong {
    color: var(--a-amber-3) !important;
}

body table.data-table td.column3 .pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(212, 160, 23, .3);
    border-radius: 11px;
    background: rgba(212, 160, 23, .13);
    color: var(--a-amber-3) !important;
    font: 700 12px/1 'Manrope', sans-serif;
    text-decoration: none;
}

body table.data-table td.column3 .pdf-link::after {
    content: 'PDF';
}

body table.data-table td.column3 .pdf-link img {
    width: 17px;
    height: 17px;
    border-radius: 0;
    filter: grayscale(1) sepia(1) saturate(3) hue-rotate(5deg) brightness(1.15);
}

body table.data-table td.column3 .edit-row {
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px;
}

body table.data-table td.column3 .edit-row img {
    width: 24px;
    height: 24px;
    filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}

body table.data-table td.column3 .thumb-link img {
    border: 1px solid var(--a-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
}

/* ---------- РџРѕРґРІР°Р» ---------- */

#bottom-top-container {
    border-top: 1px solid var(--a-line) !important;
    color: var(--a-dim) !important;
    background: transparent !important;
}

#bottom-top-container .textwidget,
.copyrightleft,
.copyrightmiddle {
    color: var(--a-dim) !important;
}

/* ---------- РњРѕРґР°Р»СЊРЅС‹Рµ РѕРєРЅР° ---------- */

#fade {
    background: rgba(6, 8, 10, .62) !important;
    opacity: 1 !important;
    filter: none !important;
}

.popup_block {
    background: #23262A !important;
    border: 1px solid var(--a-line-strong) !important;
    color: var(--a-text) !important;
    border-radius: 22px !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55) !important;
}

.close {
    background: rgba(255, 255, 255, .07) !important;
    border-color: rgba(255, 255, 255, .16) !important;
    color: var(--a-amber-3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25) !important;
}

.close:hover {
    background: var(--a-amber) !important;
    border-color: var(--a-amber) !important;
    color: #1B1608 !important;
}

.Adm_Modal h1,
.Help_Modal h1,
.ChangePass h1,
.AddUser h1 {
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
}

.Adm_Modal h2,
.ChangePass h2,
.AddUser h2 {
    color: var(--a-amber-3) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
}

.modal-subtitle,
.admin-hint {
    color: var(--a-muted) !important;
}

.Adm_Users {
    background: rgba(255, 255, 255, .025) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 14px;
    padding: 10px;
}

.Adm_Users h2 {
    margin-top: 0 !important;
}

.admin-table th,
.admin-table td {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .08) !important;
    color: var(--a-text) !important;
}

.admin-table thead th {
    background: rgba(255, 255, 255, .04) !important;
    color: var(--a-muted) !important;
}

.admin-table td.ua-cell {
    color: var(--a-muted) !important;
}

.password-mask {
    color: var(--a-muted) !important;
    letter-spacing: 2px;
}

.status,
.statusPass {
    color: var(--a-amber-3) !important;
}

#Adm_Log .table-responsive {
    background: rgba(0, 0, 0, .12) !important;
    border: 1px solid var(--a-line) !important;
    border-radius: 12px;
}

/* ---------- Р¤РѕСЂРјС‹ РІ РјРѕРґР°Р»СЊРЅС‹С… РѕРєРЅР°С… ---------- */

.modal-form label {
    color: var(--a-muted) !important;
}

.modal-form input[type="text"],
.modal-form input[type="password"],
.modal-form input[type="email"],
.modal-form input[type="file"],
.modal-form select {
    background: rgba(20, 21, 23, .72) !important;
    border: 1px solid #44494E !important;
    border-radius: 12px !important;
    color: var(--a-text) !important;
    font-family: 'Manrope', sans-serif !important;
}

.modal-form input::placeholder {
    color: #8E8C82 !important;
}

.modal-form input:focus,
.modal-form select:focus {
    border-color: var(--a-amber) !important;
    outline: 2px solid rgba(212, 160, 23, .22) !important;
}

.modal-form .button.primary {
    background: linear-gradient(135deg, #B8860B, #E0B03A) !important;
    color: #1B1608 !important;
    border-color: transparent !important;
}

/* ---------- РџСЂРѕСЃРјРѕС‚СЂ РёР·РѕР±СЂР°Р¶РµРЅРёСЏ ---------- */

.image-viewer {
    background: rgba(6, 8, 10, .9) !important;
}

.image-viewer-close {
    background: rgba(35, 38, 42, .9) !important;
    border-color: rgba(212, 160, 23, .45) !important;
    color: var(--a-amber-3) !important;
}

.image-viewer-close:hover {
    background: var(--a-amber) !important;
    color: #1B1608 !important;
}

/* ---------- РњРµР»РѕС‡Рё ---------- */

a {
    color: var(--a-amber-3);
}

a:hover {
    color: #F2D688;
}

.flash-error {
    background: rgba(200, 80, 80, .15) !important;
    border: 1px solid rgba(200, 80, 80, .3) !important;
    color: #F2B8B8 !important;
}

.scrollup {
    background: rgba(212, 160, 23, .18) !important;
    color: var(--a-amber-3) !important;
    border: 1px solid rgba(212, 160, 23, .3);
}

/* ---------- РњРѕР±РёР»СЊРЅР°СЏ РІРµСЂСЃРёСЏ ---------- */

@media (min-width: 901px) {
    body .Page .user-form {
        grid-template-columns: minmax(0, 1fr) auto auto 48px auto !important;
        justify-content: initial;
    }

    body .Page .user-form .user-badge {
        grid-column: auto !important;
    }

    body .Page .user-form .button {
        width: auto !important;
        min-width: 104px;
        padding: 0 18px;
    }

    body .Page .user-form .help-link {
        width: 48px !important;
        min-width: 48px;
    }
}

@media (max-width: 900px) {
    #logo img {
        width: 170px !important;
    }
}

@media (max-width: 760px) {
    body::before {
        width: 120px;
        height: 92px;
        right: -36px;
        top: 58px;
        opacity: .35;
    }
    body::after {
        width: 108px;
        height: 84px;
        left: -40px;
        top: 230px;
        opacity: .32;
    }

    body.login-page #header {
        padding-top: 22px !important;
    }

    .login-card {
        border-radius: 22px !important;
    }

    #page,
    #page.bigslider {
        border-radius: 22px !important;
    }

    .Page {
        border-radius: 20px !important;
    }

    body table.data-table thead {
        background: #23262A !important;
        border-color: var(--a-line) !important;
        box-shadow: 0 8px 26px rgba(0, 0, 0, .3) !important;
    }

    body table.data-table tbody tr {
        background: rgba(255, 255, 255, .045) !important;
        border: 1px solid var(--a-line) !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
    }

    body table.data-table td {
        border: 0 !important;
    }

    body table.data-table td::before {
        color: var(--a-dim) !important;
    }

    body table.data-table td.column1 {
        color: var(--a-text) !important;
    }

    body table.data-table td.column2 {
        color: var(--a-muted) !important;
    }

    body table.data-table td.column3 {
        border-top: 1px solid var(--a-line) !important;
    }

    .pdf-link {
        height: 40px;
    }
}

/* ============================================================
   РџСЂР°РІРєРё РїРѕСЃР»Рµ РјР°РєРµС‚Р°:
   вЂ” С„РёР»СЊС‚СЂС‹ РІС‹С€Рµ, С‡С‚РѕР±С‹ С‚РµРєСЃС‚ РЅРµ РѕР±СЂРµР·Р°Р»СЃСЏ;
   вЂ” РІСЃРµ РєСЂСѓРїРЅС‹Рµ СЃРєСЂСѓРіР»РµРЅРёСЏ СѓРјРµРЅСЊС€РµРЅС‹ РІРґРІРѕРµ.
   ============================================================ */

body table.data-table thead th {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.3;
}

body table.data-table thead th input.str,
body table.data-table thead th input.num {
    height: 31px !important;
    padding: 0 14px !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
}

body::before,
body::after {
    border-radius: 11px !important;
}

body .Page {
    border-radius: 12px !important;
}

body .Page details.panel {
    border-radius: 8px !important;
}

body .button {
    border-radius: 6px !important;
}

body .login-card {
    border-radius: 13px !important;
}

body .login-form input[type="text"],
body .login-form input[type="password"] {
    border-radius: 7px !important;
}

body .login-form .button {
    border-radius: 7px !important;
}

body .login-error {
    border-radius: 6px !important;
}

body #page,
body #page.bigslider {
    border-radius: 13px !important;
}

body table.data-table thead th input.str,
body table.data-table thead th input.num {
    border-radius: 6px !important;
}

body table.data-table td.column3 .pdf-link {
    border-radius: 6px !important;
}

body table.data-table td.column3 .edit-row {
    border-radius: 5px !important;
}

body table.data-table td.column3 .thumb-link img {
    border-radius: 5px !important;
}

body .popup_block {
    border-radius: 11px !important;
}

body .Adm_Users {
    border-radius: 7px !important;
}

body #Adm_Log .table-responsive {
    border-radius: 6px !important;
}

body .modal-form input[type="text"],
body .modal-form input[type="password"],
body .modal-form input[type="email"],
body .modal-form input[type="file"],
body .modal-form select {
    border-radius: 6px !important;
}

@media (max-width: 760px) {
    body table.data-table thead {
        border-radius: 6px !important;
    }

    body table.data-table thead th input.str,
    body table.data-table thead th input.num {
        height: 32px !important;
        font-size: 15px !important;
    }

    body .login-card {
        border-radius: 11px !important;
    }

    body #page,
    body #page.bigslider {
        border-radius: 11px !important;
    }

    body .Page {
        border-radius: 10px !important;
    }

    body table.data-table tbody tr {
        border-radius: 9px !important;
    }
}

/* Свёрнутый блок категорий после выбора категории: */
/* содержимое скрыто, пока пользователь сам не откроет панель. */
body .Page details.category-panel.is-collapsed:not([open]) > .panel-body {
    display: none !important;
}

/* Окно «Настройки»: блоки смены пароля и добавления пользователя
   одинаковой ширины, с небольшим отступом между ними. */
#User_settings .ChangePass,
#User_settings .AddUser {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

#User_settings .AddUser {
    margin-top: 12px !important;
}

/* Мобильное окно «Настройки»: оба блока должны помещаться
   в экран по высоте. */
@media (max-width: 760px) {
    #User_settings .ChangePass,
    #User_settings .AddUser {
        padding: 2px 12px 2px 2px !important;
    }

    #User_settings .ChangePass h1 {
        margin: 0 0 6px !important;
        font-size: 18px !important;
    }

    #User_settings .modal-subtitle {
        margin: 0 0 6px !important;
        font-size: 12px !important;
    }

    #User_settings .AddUser h2 {
        margin: 8px 0 4px !important;
        font-size: 14px !important;
    }

    #User_settings .modal-form label {
        margin: 6px 0 3px !important;
        font-size: 11px !important;
    }

    #User_settings .modal-form input[type="text"],
    #User_settings .modal-form input[type="password"],
    #User_settings .modal-form input[type="email"],
    #User_settings .modal-form input[type="file"],
    #User_settings .modal-form select {
        min-height: 38px !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
    }

    #User_settings .modal-form .button {
        min-height: 42px !important;
        margin-top: 8px !important;
        font-size: 14px !important;
    }

    #User_settings .status,
    #User_settings .statusPass {
        margin-top: 4px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    #User_settings .AddUser {
        margin-top: 8px !important;
    }
}


/* Кнопка «Наверх» — полупрозрачный значок справа снизу */
body .scrollup {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(212, 160, 23, .35) !important;
    border-radius: 50% !important;
    background: rgba(35, 38, 42, .62) !important;
    color: #EBC55F !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28) !important;
    backdrop-filter: blur(10px);
    opacity: .55;
    z-index: 90;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

body .scrollup:hover {
    opacity: 1;
    background: rgba(212, 160, 23, .92) !important;
    color: #1B1608 !important;
    transform: translateY(-2px);
}

body .scrollup:focus-visible {
    outline: 2px solid rgba(235, 197, 95, .8);
    outline-offset: 3px;
}

body .scrollup .scrollup-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 760px) {
    body .scrollup {
        right: 14px !important;
        bottom: 14px !important;
        width: 44px !important;
        height: 44px !important;
        opacity: .5;
    }
}
