:root {
    --bg-dark: #0a0a0a;
    --card-bg: #141414;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --text-muted: #8e8e93;
    --border-color: #2c2c2e;
    --input-bg: #1c1c1e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-white);
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-dark);
}

.btn-gold {
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 600;
}

.btn-gold:hover {
    background: transparent;
    color: var(--accent-gold);
}

.hero {
    padding: 160px 20px 80px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 15px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.status-msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.status-success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}


/* Главная страница: фоновое видео */
.landing-page {
    min-height: 100vh;
    background: #050505;
}

.hero-media {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #050505;
}

.hero-video,
.hero-video-fallback,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    opacity: 0.74;
    filter: saturate(0.85) contrast(1.12) brightness(0.72);
}

.hero-video-fallback {
    z-index: -1;
    background:
        radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.24), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(135deg, rgba(19, 19, 19, 0.98), rgba(5, 5, 5, 1) 52%, rgba(29, 24, 12, 0.92));
}

.hero-video-overlay {
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.58) 48%, rgba(5, 5, 5, 0.88) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.42) 0%, rgba(5, 5, 5, 0.22) 42%, rgba(5, 5, 5, 0.9) 100%);
}

.landing-page header {
    background: rgba(5, 5, 5, 0.54);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.landing-page .nav-buttons .language-flags {
    margin-right: 2px;
}

.landing-page .nav-buttons .language-flag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.landing-page .nav-buttons .language-flag.active {
    border-color: rgba(212, 175, 55, 0.76);
    background: rgba(212, 175, 55, 0.13);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10), 0 6px 18px rgba(212, 175, 55, 0.12);
}

.landing-page .hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 500px;
    align-items: center;
    gap: 56px;
    padding: 130px 28px 70px;
    text-align: left;
}

.hero-copy {
    max-width: 620px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.10);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.landing-page .hero h1 {
    font-size: clamp(44px, 5.2vw, 78px);
    line-height: 0.98;
    letter-spacing: -2.5px;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.landing-page .hero p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.75;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}

.landing-page .form-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0;
    background: rgba(20, 20, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
}

.landing-page input,
.landing-page select,
.landing-page textarea {
    background: rgba(28, 28, 30, 0.84);
}

@media (max-width: 980px) {
    .landing-page .hero {
        grid-template-columns: 1fr;
        max-width: 680px;
        text-align: center;
        gap: 34px;
    }

    .hero-copy,
    .landing-page .hero p {
        max-width: 100%;
    }

    .landing-page .form-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .landing-page header {
        padding: 16px 18px;
    }

    .landing-page .logo {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .landing-page .btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .landing-page .hero {
        padding: 112px 18px 50px;
    }

    .landing-page .form-wrapper {
        padding: 28px 22px;
    }
}

/* Личный Кабинет & Админка */
.container {
    max-width: 1000px;
    margin: 120px auto 60px auto;
    padding: 0 20px;
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
}

.param-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.param-item {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.param-item .val {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
}

.param-item .lbl {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

.model-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.model-list-table th, .model-list-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.model-list-table th {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}
/* =================================================== */
/* КАСТОМНЫЙ ПОЛЗУНОК (СКРОЛЛБАР) В СТИЛЕ САЙТА        */
/* =================================================== */

/* Настройки для Google Chrome, Opera, Safari и Edge */
::-webkit-scrollbar {
    width: 8px;               /* Ширина вертикального скроллбара */
    height: 8px;              /* Высота горизонтального скроллбара */
}

/* Дорожка, по которой двигается ползунок (фон) */
::-webkit-scrollbar-track {
    background: #0f0f0f;      /* Глубокий темный цвет под фон сайта */
}

/* Сам ползунок */
::-webkit-scrollbar-thumb {
    background: #bfa36f;      /* Золотой оттенок (можешь заменить на var(--accent-gold)) */
    border-radius: 10px;      /* Скругляем вbutton-style */
    border: 2px solid #0f0f0f; /* Делаем отступы вокруг ползунка за счет цвета фона */
}

/* Ползунок при наведении мышкой */
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;      /* Чуть более яркое золото при ховере */
    cursor: pointer;
}

/* Поддержка для браузера Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #bfa36f #0f0f0f; /* [цвет ползунка] [цвет фона] */
}

/* Админка: расширенная таблица, доходы и действия */
.admin-container {
    max-width: 1480px;
    padding-left: 24px;
    padding-right: 24px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 392px minmax(760px, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-list-card {
    padding: 30px 28px;
    min-width: 0;
}

.admin-table-wrap {
    overflow-x: visible;
}

.admin-list-card .model-list-table {
    table-layout: auto;
    font-size: 14px;
}

.admin-list-card .model-list-table th,
.admin-list-card .model-list-table td {
    padding: 14px 9px;
    vertical-align: middle;
}

.admin-list-card .model-list-table th:nth-child(1),
.admin-list-card .model-list-table td:nth-child(1) { width: 31%; }
.admin-list-card .model-list-table th:nth-child(2),
.admin-list-card .model-list-table td:nth-child(2) { width: 13%; }
.admin-list-card .model-list-table th:nth-child(3),
.admin-list-card .model-list-table td:nth-child(3) { width: 14%; }
.admin-list-card .model-list-table th:nth-child(4),
.admin-list-card .model-list-table td:nth-child(4) { width: 12%; }
.admin-list-card .model-list-table th:nth-child(5),
.admin-list-card .model-list-table td:nth-child(5) { width: 9%; }
.admin-list-card .model-list-table th:nth-child(6),
.admin-list-card .model-list-table td:nth-child(6) { width: 13%; }
.admin-list-card .model-list-table th:nth-child(7),
.admin-list-card .model-list-table td:nth-child(7) { width: 6%; text-align: center; }

.income-mini {
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-white);
}

.income-mini span {
    color: var(--text-muted);
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.btn-small {
    min-width: 66px;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-edit {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-edit:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.btn-delete {
    background: rgba(231, 76, 60, 0.16);
    color: #ff6b6b;
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.btn-delete:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-1px);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    z-index: 2000;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-card {
    position: relative;
    width: min(440px, 100%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.modal-card h2 {
    margin-bottom: 8px;
    font-size: 22px;
    text-transform: uppercase;
}

.modal-subtitle {
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 14px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--input-bg);
    color: var(--text-white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

@media (max-width: 1180px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-table-wrap {
        overflow-x: auto;
    }
}

.model-register-params-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 720px) {
    .model-register-params-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Фото профиля модели */
.profile-header {
    align-items: flex-start;
}

.profile-header-expanded {
    display: block;
}

.profile-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.profile-overview {
    display: grid;
    grid-template-columns: auto minmax(260px, 360px);
    gap: 34px;
    align-items: stretch;
    margin-top: 24px;
}

.profile-photo-wrap {
    margin-top: 0;
}

.profile-photo {
    display: block;
    width: auto;
    max-width: min(260px, 100%);
    height: auto;
    max-height: 340px;
    object-fit: contain;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.profile-params-card {
    align-self: start;
    min-height: auto;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.26);
}

.profile-params-kicker {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.profile-params-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-param-mini {
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.profile-param-mini span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-param-mini strong {
    display: block;
    color: var(--accent-gold);
    font-size: 20px;
    line-height: 1.15;
}

.profile-param-wide {
    grid-column: auto;
}

.admin-model-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.admin-model-photo {
    width: 46px;
    height: 58px;
    flex: 0 0 46px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
}

.admin-model-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-weight: 700;
}

.btn-photo {
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-photo:hover {
    background: rgba(212, 175, 55, 0.24);
    transform: translateY(-1px);
}

.btn-status {
    background: rgba(86, 156, 214, 0.16);
    color: #6fc3ff;
    border: 1px solid rgba(86, 156, 214, 0.4);
}

.btn-status:hover {
    background: rgba(86, 156, 214, 0.28);
    transform: translateY(-1px);
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.photo-modal-card {
    width: min(520px, 100%);
}

.photo-preview {
    position: relative;
    width: 100%;
    height: 360px;
    margin-bottom: 14px;
    border: 1px dashed rgba(212, 175, 55, 0.45);
    border-radius: 24px;
    background: var(--input-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.photo-preview:hover,
.photo-preview:focus-visible {
    border-color: rgba(212, 175, 55, 0.9);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08), 0 18px 42px rgba(0, 0, 0, 0.18);
    outline: none;
    transform: translateY(-1px);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(255, 255, 255, 0.02);
}

.photo-preview:not(.empty)::after {
    content: 'Нажмите, чтобы заменить фото';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.photo-preview:not(.empty):hover::after,
.photo-preview:not(.empty):focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.photo-preview.empty {
    background: linear-gradient(135deg, rgba(28, 28, 30, 1), rgba(20, 20, 20, 1));
}

.photo-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 24px;
}

.photo-upload-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--accent-gold);
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.10);
}

.photo-upload-title {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 900;
}

.photo-upload-text {
    max-width: 280px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0.2px;
}

.photo-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.photo-form-hint {
    margin-bottom: 20px;
}

.modal-actions-row {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 12px;
}

.btn-modal-secondary,
.btn-modal-primary {
    width: 100%;
    padding: 14px;
}

@media (max-width: 640px) {
    .profile-header {
        flex-direction: column;
        gap: 16px;
    }

    .profile-title-row {
        flex-direction: column;
        gap: 14px;
    }

    .profile-overview {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .profile-photo {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 340px;
    }

    .profile-params-card {
        padding: 18px;
    }

    .photo-preview {
        height: 300px;
    }

    .modal-actions-row {
        grid-template-columns: 1fr;
    }
}

/* Личный кабинет: Telegram-кнопка и редактирование соцсетей */
.profile-main-info {
    min-width: 0;
}

.profile-kicker {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-section-title {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.profile-section-spaced {
    margin-top: 30px;
}

.telegram-assistant-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2aabee, #229ed9);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(34, 158, 217, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.telegram-assistant-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 18px 38px rgba(34, 158, 217, 0.34);
}

.telegram-assistant-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    line-height: 1;
}

 .social-panel {
    background: #1a1a1a;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.social-current {
    display: grid;
    gap: 4px;
    color: #ccc;
    font-size: 14px;
}

.social-row {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.social-row:last-child {
    border-bottom: none;
}

.social-row-head {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-brand-name,
.social-brand-link {
    color: #f1f1f1;
    font-weight: 800;
}

.social-brand-link {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.social-brand-link:hover {
    color: #ffd84a;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

.social-empty {
    color: var(--text-muted);
}

.social-edit-btn {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.30);
    background: rgba(212, 175, 55, 0.06);
    color: var(--accent-gold);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    opacity: 0.72;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.social-row:hover .social-edit-btn,
.social-edit-btn:hover {
    opacity: 1;
}

.social-edit-btn:hover {
    transform: scale(1.08);
    border-color: rgba(212, 175, 55, 0.70);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.social-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.social-edit-modal.active {
    display: flex;
}

.social-edit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(6px);
}

.social-edit-dialog {
    position: relative;
    width: min(460px, 100%);
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    background: #171717;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.social-edit-dialog h3 {
    margin: 2px 0 18px;
    font-size: 26px;
    color: var(--text-main);
}

.social-edit-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
}

.social-modal-input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-main);
    outline: none;
}

.social-modal-input:focus {
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.social-modal-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 12px;
    margin-top: 18px;
}

.social-modal-actions .btn {
    width: 100%;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.social-save-btn {
    width: 100%;
    margin-top: 4px;
}

@media (max-width: 840px) {
    .grid-3,
    .social-current {
        grid-template-columns: 1fr;
    }

    .telegram-assistant-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Личный кабинет: кнопка ассистента в шапке рядом с выходом */
.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-assistant-btn {
    margin-top: 0;
    padding: 10px 18px;
    min-height: 40px;
    white-space: nowrap;
}

.header-assistant-btn .telegram-assistant-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .dashboard-header {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }

    .dashboard-header-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .header-assistant-btn,
    .dashboard-header-actions .btn-outline {
        flex: 1;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 12px;
    }
}


/* Личный кабинет: боковое меню */
.dashboard-page .container.dashboard-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.dashboard-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 120px auto 60px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 96px;
    min-height: 320px;
    padding: 24px;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}



.sidebar-kicker {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.dashboard-sidebar h2 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    transition: all 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--text-white);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.10);
}

.sidebar-link:hover .sidebar-dot,
.sidebar-link.active .sidebar-dot {
    background: var(--accent-gold);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.55);
}

.dashboard-content {
    min-width: 0;
}

@media (max-width: 980px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
        margin-top: 140px;
    }

    .dashboard-sidebar {
        position: static;
        min-height: unset;
    }

    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sidebar-link {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .dashboard-shell {
        width: calc(100% - 28px);
        margin-top: 160px;
    }

    .dashboard-sidebar {
        padding: 18px;
    }

    .sidebar-nav {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar-link {
        font-size: 13px;
        padding: 12px 10px;
    }
}

/* Реквизиты выплат в ЛК и админке */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.dashboard-shell {
    width: min(1540px, calc(100% - 40px));
}

.payment-details-card {
    position: sticky;
    top: 96px;
    padding: 28px;
}

.payment-title {
    font-size: 24px;
    margin: 4px 0 8px;
    text-transform: uppercase;
}

.payment-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.payment-preview {
    min-height: 86px;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.20);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.payment-preview span {
    color: var(--text-muted);
}

.payment-method-fields {
    display: none;
}

.payment-save-btn {
    width: 100%;
    margin-top: 4px;
}

.payment-modal-card {
    width: min(520px, 100%);
}

.admin-payment-preview {
    margin-bottom: 20px;
}

.btn-payment {
    background: rgba(46, 204, 113, 0.14);
    color: #58d68d;
    border: 1px solid rgba(46, 204, 113, 0.36);
}

.btn-payment:hover {
    background: rgba(46, 204, 113, 0.24);
    transform: translateY(-1px);
}

@media (max-width: 1280px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .payment-details-card {
        position: static;
    }
}

@media (max-width: 980px) {
    .dashboard-content-grid {
        display: block;
    }
}

/* Compact admin settings button */
.admin-actions-single {
    align-items: center;
}

.btn-settings {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-settings svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-settings:hover {
    transform: translateY(-1px) rotate(18deg);
    background: rgba(212, 175, 55, 0.23);
    border-color: rgba(212, 175, 55, 0.72);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.12);
}

.settings-modal-card {
    width: min(560px, 100%);
}

.settings-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
}

.settings-action {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-white);
    text-align: left;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.settings-action:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.42);
    background: rgba(255, 255, 255, 0.055);
}

.settings-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 17px;
}

.settings-action strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.settings-action small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.settings-action-delete {
    border-color: rgba(231, 76, 60, 0.28);
}

.settings-action-delete .settings-action-icon {
    background: rgba(231, 76, 60, 0.14);
    color: #ff6b6b;
}

.settings-action-delete:hover {
    border-color: rgba(231, 76, 60, 0.55);
    background: rgba(231, 76, 60, 0.08);
}

/* Admin password privacy: blur + eye toggle */
.admin-password-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 150px;
}

.admin-password-value {
    display: inline-block;
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.admin-password-value.is-hidden {
    filter: blur(5px);
    opacity: 0.72;
    user-select: none;
    pointer-events: none;
}

.password-eye-btn {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: rgba(212, 175, 55, 0.10);
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.password-eye-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.password-eye-btn:hover,
.password-eye-btn.is-visible {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.72);
}

.password-eye-btn:hover {
    transform: translateY(-1px);
}

/* Расписание сотрудников: админка + личный кабинет */
.settings-action-schedule .settings-action-icon {
    background: rgba(52, 152, 219, 0.14);
    color: #74b9ff;
}

.schedule-modal-card {
    width: min(920px, 100%);
}

.schedule-editor-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 16px;
    align-items: end;
    margin-top: 18px;
}

.schedule-month-admin {
    margin-bottom: 0;
}

.schedule-editor-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.schedule-editor-buttons .btn {
    border-radius: 14px;
    padding: 12px 16px;
}

.schedule-editor-wrap,
.schedule-view-wrap {
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(28, 28, 30, 0.54);
}

.schedule-editor-wrap {
    max-height: 540px;
    margin-top: 18px;
}

.schedule-editor-table,
.schedule-view-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.schedule-editor-table th,
.schedule-editor-table td,
.schedule-view-table th,
.schedule-view-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.schedule-editor-table th,
.schedule-view-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #141414;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.schedule-editor-table td strong,
.schedule-view-table td strong {
    display: block;
    font-size: 13px;
    color: var(--text-white);
}

.schedule-editor-table td small,
.schedule-view-table td small {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
}

.schedule-editor-table select,
.schedule-editor-table input[type="time"] {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.schedule-editor-row.is-work {
    background: rgba(46, 204, 113, 0.055);
}

.schedule-editor-row.is-off {
    background: rgba(255, 255, 255, 0.018);
}

.schedule-editor-row input:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.schedule-card {
    scroll-margin-top: 100px;
}

.schedule-card-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 22px;
    margin-bottom: 22px;
}

.schedule-month-control {
    min-width: 220px;
}

.schedule-month-control label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.schedule-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.schedule-summary div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.schedule-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.schedule-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--accent-gold);
    font-size: 22px;
    line-height: 1.1;
}

.schedule-view-row.is-work {
    background: rgba(46, 204, 113, 0.045);
}

.schedule-view-row.is-off {
    background: rgba(255, 255, 255, 0.018);
}

.schedule-view-row.is-empty {
    opacity: 0.74;
}

.schedule-badge,
.schedule-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.schedule-badge-work {
    background: rgba(46, 204, 113, 0.15);
    color: #58d68d;
    border: 1px solid rgba(46, 204, 113, 0.30);
}

.schedule-badge-off {
    background: rgba(231, 76, 60, 0.13);
    color: #ff8b80;
    border: 1px solid rgba(231, 76, 60, 0.28);
}

.schedule-badge-empty {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule-period {
    background: rgba(212, 175, 55, 0.10);
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

@media (max-width: 980px) {
    .sidebar-nav {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .schedule-editor-toolbar,
    .schedule-card-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .schedule-editor-buttons {
        justify-content: stretch;
    }

    .schedule-editor-buttons .btn {
        flex: 1 1 180px;
    }
}

@media (max-width: 700px) {
    .schedule-summary {
        grid-template-columns: 1fr;
    }

    .schedule-month-control {
        min-width: 0;
    }
}

/* Workday reports / schedule completion */
.admin-report-count {
    margin-top: 7px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.settings-action-reports .settings-action-icon {
    color: #2ecc71;
}

.work-reports-modal-card {
    max-width: 980px;
}

.work-reports-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.work-reports-summary div {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.work-reports-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.work-reports-summary strong {
    font-size: 24px;
    color: var(--text-white);
}

.work-reports-wrap {
    max-height: 520px;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: 18px;
}

.work-reports-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.work-reports-table th,
.work-reports-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.work-reports-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #151515;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.work-reports-table td strong {
    display: block;
    font-size: 14px;
}

.work-reports-table td small {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
}

.work-report-pill,
.workday-check-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.work-report-pill.is-empty,
.workday-check-pill.is-empty,
.workday-check-pill.is-disabled {
    background: rgba(142, 142, 147, 0.12);
    border: 1px solid rgba(142, 142, 147, 0.24);
    color: var(--text-muted);
}

.work-report-pill.is-pending,
.workday-check-pill.is-pending {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.36);
    color: var(--accent-gold);
}

.work-report-pill.is-approved,
.workday-check-pill.is-approved {
    background: rgba(46, 204, 113, 0.14);
    border: 1px solid rgba(46, 204, 113, 0.34);
    color: #2ecc71;
}

.work-report-pill.is-rejected,
.workday-check-pill.is-rejected {
    background: rgba(231, 76, 60, 0.14);
    border: 1px solid rgba(231, 76, 60, 0.34);
    color: #e74c3c;
}

.work-report-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-work-approve,
.btn-work-reject,
.workday-complete-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-work-approve,
.workday-complete-btn {
    background: var(--accent-gold);
    color: #0a0a0a;
}

.btn-work-reject {
    background: rgba(231, 76, 60, 0.16);
    color: #ff6b5f;
    border: 1px solid rgba(231, 76, 60, 0.32);
}

.btn-work-approve:hover,
.workday-complete-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.18);
}

.btn-work-reject:hover {
    background: rgba(231, 76, 60, 0.24);
}

.workday-complete-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.workday-muted {
    color: var(--text-muted);
}

.schedule-view-row.is-pending {
    background: rgba(212, 175, 55, 0.04);
}

.schedule-view-row.is-approved {
    background: rgba(46, 204, 113, 0.045);
}

.schedule-view-row.is-rejected {
    background: rgba(231, 76, 60, 0.045);
}

@media (max-width: 768px) {
    .work-reports-summary {
        grid-template-columns: 1fr;
    }

    .work-report-actions,
    .workday-complete-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Logo accent: WebModel.X white + Club orange */
.logo-main {
    color: var(--text-white);
}

.logo-club {
    color: #ff8a1d;
}

.logo-club-clickable {
    display: inline-block;
    cursor: pointer;
    transform-origin: center;
    transition: transform 0.22s ease, text-shadow 0.22s ease, color 0.22s ease;
}

.logo-club-clickable:hover {
    transform: translateY(-1px) scale(1.14);
    color: #ff9a35;
    text-shadow: 0 0 18px rgba(255, 122, 24, 0.44);
}

.logo-club-clickable:focus-visible {
    outline: none;
    transform: translateY(-1px) scale(1.14);
    color: #ff9a35;
    text-shadow: 0 0 18px rgba(255, 122, 24, 0.44);
}

.logo-admin {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82em;
    letter-spacing: 2px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Payouts page and payout history */
.payouts-card {
    scroll-margin-top: 100px;
    margin-top: 24px;
}

.payouts-card-header,
.admin-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-page-title-row h1 {
    font-size: 30px;
    text-transform: uppercase;
    margin: 4px 0 8px;
}

.payouts-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.payouts-summary div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 138, 29, 0.08);
    border: 1px solid rgba(255, 138, 29, 0.20);
}

.payouts-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.payouts-summary strong {
    display: block;
    margin-top: 4px;
    color: #ffb15f;
    font-size: 21px;
    line-height: 1.1;
}

.payouts-table-wrap {
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(28, 28, 30, 0.54);
}

.payouts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.admin-payouts-table {
    min-width: 900px;
}

.payouts-table th,
.payouts-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.payouts-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #151515;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.payouts-table td strong {
    display: block;
    font-size: 14px;
}

.payouts-table td small {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
}

.admin-payouts-page {
    max-width: 1420px;
}

.admin-payouts-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-payout-form-card {
    margin: 0;
    max-width: none;
    position: sticky;
    top: 100px;
}

.admin-payouts-list-card {
    padding: 28px;
}

.admin-payouts-table-wrap {
    max-height: 660px;
}

@media (max-width: 980px) {
    .admin-payouts-layout {
        grid-template-columns: 1fr;
    }

    .admin-payout-form-card {
        position: static;
    }

    .payouts-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .admin-page-title-row,
    .payouts-card-header {
        flex-direction: column;
    }

    .admin-header-actions {
        width: 100%;
    }

    .admin-header-actions .btn {
        flex: 1;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 12px;
    }
}

.logo {
    text-transform: none;
}


/* Separate employee payouts page */
.payouts-shell .dashboard-content {
    min-width: 0;
}

.payouts-page-card {
    margin-top: 0;
}

@media (min-width: 981px) {
    .payouts-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

/* Meetings / planning page */
.meetings-card {
    scroll-margin-top: 100px;
    margin-top: 24px;
}

.meetings-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.meeting-next-box {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 138, 29, 0.22);
    background: rgba(255, 138, 29, 0.06);
    margin-bottom: 22px;
}

.meetings-history-block h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.meetings-list {
    display: grid;
    gap: 12px;
}

.meeting-info-card,
.meeting-card-empty {
    padding: 16px;
    border-radius: 18px;
    background: rgba(28, 28, 30, 0.82);
    border: 1px solid var(--border-color);
}

.meeting-info-card.is-next {
    border-color: rgba(255, 138, 29, 0.42);
    box-shadow: 0 0 24px rgba(255, 138, 29, 0.06);
}

.meeting-card-empty {
    color: var(--text-muted);
    text-align: center;
}

.meeting-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.meeting-info-top strong {
    font-size: 18px;
}

.meeting-label,
.meeting-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.meeting-label,
.meeting-status-badge.is-upcoming {
    color: #ffb15f;
    background: rgba(255, 138, 29, 0.12);
    border: 1px solid rgba(255, 138, 29, 0.25);
}

.meeting-status-badge.is-past {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.meeting-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.meeting-info-grid div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.meeting-info-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.meeting-info-grid b {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

.meeting-created {
    display: block;
    margin-top: 12px;
    color: var(--text-muted);
}

.admin-meetings-table {
    min-width: 980px;
}

.btn-small {
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

.btn-danger-soft {
    color: #ff7777;
    background: rgba(231, 76, 60, 0.14);
    border: 1px solid rgba(231, 76, 60, 0.42);
}

.btn-danger-soft:hover {
    background: rgba(231, 76, 60, 0.22);
}

@media (max-width: 760px) {
    .meeting-info-grid {
        grid-template-columns: 1fr;
    }

    .meeting-info-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Separate employee schedule page */
.schedule-page-shell .dashboard-content {
    min-width: 0;
}

.schedule-page-card {
    margin-top: 0;
}

.schedule-profile-line {
    margin-bottom: 18px;
    justify-content: flex-start;
}

@media (min-width: 981px) {
    .schedule-page-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

/* Переключатель языка в шапке ЛК */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-flags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
}

.language-flag {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.language-flag::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.language-flag-ru::before {
    background: linear-gradient(to bottom, #ffffff 0 33.333%, #1f5eff 33.333% 66.666%, #d72828 66.666% 100%);
}

.language-flag-en::before {
    background:
        linear-gradient(to right, #24408e 0 45%, transparent 45% 100%),
        repeating-linear-gradient(to bottom,
            #b22234 0 7.69%,
            #ffffff 7.69% 15.38%);
}

.language-flag:hover {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255, 122, 24, 0.42);
    background: rgba(255, 122, 24, 0.08);
}

.language-flag.active {
    border-color: rgba(255, 122, 24, 0.78);
    background: rgba(255, 122, 24, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.10), 0 6px 18px rgba(255, 122, 24, 0.14);
}

.language-flag.active::before {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.language-flag:focus-visible {
    outline: none;
    border-color: rgba(255, 122, 24, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.18);
}

@media (max-width: 720px) {
    .language-flags {
        gap: 6px;
        padding: 2px 0;
    }

    .language-flag {
        width: 34px;
        height: 34px;
    }

    .language-flag::before {
        width: 22px;
        height: 22px;
    }
}


#meetings {
    scroll-margin-top: 96px;
}


/* Мульти-фото в админке */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: 360px;
    margin: 22px 0 18px;
}

.photo-thumb,
.photo-add-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: var(--input-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: contain;
    background: #111;
}

.photo-add-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-style: dashed;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.photo-add-tile.is-empty {
    grid-column: 1 / -1;
    min-height: 360px;
}

.photo-add-tile:hover,
.photo-add-tile:focus-visible {
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.75);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.photo-main-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.92);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.photo-thumb-remove {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 12, 12, 0.78);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.photo-thumb-remove:hover {
    transform: scale(1.05);
    background: rgba(178, 44, 44, 0.9);
    border-color: rgba(255, 103, 103, 0.5);
}

/* Карусель фото в ЛК */
.profile-photo-carousel {
    position: relative;
    display: inline-block;
    max-width: min(260px, 100%);
}

.profile-photo-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    background: rgba(14, 14, 14, 0.74);
    color: var(--accent-gold);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    backdrop-filter: blur(10px);
}

.profile-photo-arrow-prev {
    left: -18px;
}

.profile-photo-arrow-next {
    right: -18px;
}

.profile-photo-carousel.has-multiple:hover .profile-photo-arrow {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.profile-photo-arrow:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.85);
}

.profile-photo-counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 2;
    transform: translateX(-50%);
    min-width: 46px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(14, 14, 14, 0.68);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: opacity 0.22s ease;
    backdrop-filter: blur(10px);
}

.profile-photo-carousel.has-multiple:hover .profile-photo-counter {
    opacity: 1;
}

@media (max-width: 640px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .photo-add-tile.is-empty {
        min-height: 300px;
    }

    .profile-photo-arrow {
        opacity: 1;
        pointer-events: auto;
        width: 34px;
        height: 50px;
    }

    .profile-photo-arrow-prev {
        left: 8px;
    }

    .profile-photo-arrow-next {
        right: 8px;
    }
}
