/* ============================================
   AUTH-MODEL.CSS — РЕГИСТРАЦИЯ МОДЕЛИ
   (ПОЛНЫЙ ФАЙЛ СО ВСЕМИ СТИЛЯМИ)
   ============================================ */

.auth-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.auth-page {
    position: relative;
    z-index: 8;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    isolation: isolate;
}

/* ЛЕГКИЙ ФОН */
.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.035) 0%, transparent 16%),
        radial-gradient(circle at 82% 16%, rgba(220,228,236,0.03) 0%, transparent 18%),
        radial-gradient(circle at 74% 78%, rgba(255,255,255,0.025) 0%, transparent 20%);
    filter: blur(12px);
    opacity: 0.9;
}

/* ПЛАТИНОВЫЕ ТОЧКИ */
.auth-page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 0 1px, transparent 1.9px),
        radial-gradient(circle, rgba(230,236,242,0.85) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.88) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(220,228,236,0.78) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.84) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(228,234,240,0.74) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.92) 0 1px, transparent 1.9px),
        radial-gradient(circle, rgba(220,228,236,0.82) 0 1px, transparent 2px);
    background-size: 6px 6px;
    background-position:
        8% 14%,
        24% 36%,
        41% 18%,
        63% 27%,
        79% 12%,
        14% 72%,
        58% 82%,
        91% 62%;
    opacity: 0.45;
    animation: authPlatinumDots 9s ease-in-out infinite;
}

.auth-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 0.6rem;
    margin-bottom: 2.4rem;
}

.auth-hero-glow {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: min(100%, 980px);
    height: 190px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(255,255,255,0.06) 0%,
            rgba(220,228,236,0.035) 35%,
            rgba(255,255,255,0.012) 52%,
            transparent 74%);
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 5s ease-in-out infinite;
}

.auth-title-wrap {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.auth-title {
    position: relative;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.3rem, 7vw, 6.8rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 0.96;
    color: #f8fbff;
    text-shadow:
        0 0 14px rgba(255,255,255,0.08),
        0 0 28px rgba(215,225,235,0.08);
}

.auth-title::before {
    content: attr(data-shadow);
    position: absolute;
    inset: 0;
    color: rgba(218, 226, 235, 0.16);
    transform: translate(2px, 3px);
    filter: blur(7px);
    z-index: -1;
}

.auth-role {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 238, 244, 0.12);
    background:
        linear-gradient(
            180deg,
            rgba(36, 40, 46, 0.42) 0%,
            rgba(14, 16, 20, 0.58) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 10px 24px rgba(0,0,0,0.22),
        0 0 16px rgba(220,228,236,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.auth-role:hover {
    transform: translateY(-1px);
    border-color: rgba(238,243,248,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.065),
        0 14px 26px rgba(0,0,0,0.24),
        0 0 18px rgba(220,228,236,0.045);
}

.auth-role-label,
.auth-role-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.auth-role-label {
    color: rgba(225,230,236,0.62);
}

.auth-role-value {
    color: #f5f8fb;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255,255,255,0.1);
}

.auth-role-diamond {
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    border-radius: 1px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.94),
            rgba(208,218,228,0.48)
        );
    box-shadow:
        0 0 8px rgba(255,255,255,0.2),
        0 0 14px rgba(220,228,236,0.08);
    animation: softDiamondPulse 3s ease-in-out infinite;
}

.auth-view {
    display: none;
}

.auth-view.is-active {
    display: block;
}

.auth-shell {
    position: relative;
    z-index: 2;
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(248, 251, 255, 0.08) 0%,
            rgba(212, 220, 230, 0.05) 14%,
            rgba(42, 46, 54, 0.14) 34%,
            rgba(12, 14, 18, 0.62) 58%,
            rgba(205, 214, 223, 0.06) 100%
        );
    border: 1px solid rgba(232, 238, 245, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        inset 0 -1px 0 rgba(0,0,0,0.22),
        0 22px 44px rgba(0,0,0,0.28),
        0 0 20px rgba(220,230,240,0.03);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 33px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.06) 0%,
            rgba(255,255,255,0.02) 18%,
            transparent 38%,
            transparent 62%,
            rgba(255,255,255,0.025) 100%
        );
    pointer-events: none;
}

.auth-shell::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.045);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.01),
        0 0 10px rgba(255,255,255,0.01);
    pointer-events: none;
}

/* ========== ФОРМА ========== */
.auth-form {
    position: relative;
    z-index: 2;
    padding: 2.2rem;
}

.form-section {
    margin-bottom: 2.2rem;
    position: relative;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-caption {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-caption-diamond-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.2));
}

.section-caption-diamond {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-radius: 1px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.94),
            rgba(210,220,230,0.48)
        );
    box-shadow:
        0 0 8px rgba(255,255,255,0.15),
        0 0 14px rgba(220,228,236,0.05);
    animation: softDiamondPulse 3.4s ease-in-out infinite;
}

.section-caption-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(230,236,242,0.76);
}

/* ===== АВАТАР + ОСНОВНАЯ ИНФОРМАЦИЯ В ОДНУ СТРОКУ ===== */
.profile-row {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

.profile-row .photo-upload-area {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile-row .photo-dropzone {
    min-height: 406px;
    width: 100%;
}

.profile-row .upload-trigger {
    height: 56px; /* было 46px */
    min-height: 52px;
}

.profile-row .upload-trigger .btn-text {
    font-size: 1rem; /* было 0.9rem */
    letter-spacing: 0.1em;
}

.profile-row .data-panel-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.profile-row .field-group:first-child {
    grid-column: 1 / -1;
}

/* Сетки */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-grid-3:last-child {
    margin-bottom: 0;
}

/* Поля */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(228,234,240,0.72);
    padding-left: 0.2rem;
    transition: color 0.22s ease, text-shadow 0.22s ease;
}

.field-label.required::after {
    content: " *";
    color: rgba(200, 180, 220, 0.8);
    font-size: 0.9rem;
}

.field-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: rgba(200, 210, 225, 0.55);
    padding-left: 0.2rem;
    margin-top: -0.2rem;
}

.field-group:focus-within .field-label {
    color: rgba(244,248,252,0.92);
    text-shadow: 0 0 8px rgba(255,255,255,0.08);
}

.lux-input,
.lux-textarea {
    width: 100%;
    border: 1px solid rgba(228,233,240,0.13);
    background:
        linear-gradient(
            180deg,
            rgba(36, 40, 46, 0.42) 0%,
            rgba(14, 16, 20, 0.58) 100%
        );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    outline: none;
    color: #f1f5f9;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
    box-shadow:
        0 8px 22px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -1px 0 rgba(0,0,0,0.12);
}

.lux-input:hover,
.lux-textarea:hover {
    border-color: rgba(236,242,247,0.18);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.22),
        0 0 10px rgba(210,220,232,0.03),
        inset 0 1px 0 rgba(255,255,255,0.055),
        inset 0 -1px 0 rgba(0,0,0,0.12);
}

.lux-input {
    height: 56px;
    padding: 0 1rem;
}

.lux-textarea {
    min-height: 180px;
    resize: vertical;
    padding: 1rem;
    line-height: 1.7;
}

.lux-input::placeholder,
.lux-textarea::placeholder {
    color: rgba(223,230,236,0.38);
}

.lux-input:focus,
.lux-textarea:focus {
    border-color: rgba(245,248,252,0.28);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.24),
        0 0 16px rgba(210,220,232,0.06),
        inset 0 1px 0 rgba(255,255,255,0.07);
    transform: translateY(-1px);
}

.lux-input:read-only {
    background: linear-gradient(
        180deg,
        rgba(20, 24, 30, 0.5) 0%,
        rgba(8, 10, 14, 0.65) 100%
    );
    color: rgba(220, 230, 245, 0.7);
    cursor: default;
}

/* Загрузка аватара */
.photo-upload-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.photo-dropzone {
    position: relative;
    min-height: 360px;
    border-radius: 22px;
    border: 1px dashed rgba(233, 239, 245, 0.16);
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 55%),
        linear-gradient(
            180deg,
            rgba(26, 29, 34, 0.56) 0%,
            rgba(10, 12, 16, 0.72) 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 26px rgba(0,0,0,0.18);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.photo-dropzone::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.035);
    pointer-events: none;
}

.photo-dropzone:hover {
    transform: translateY(-1px);
    border-color: rgba(239,244,249,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 16px 28px rgba(0,0,0,0.2),
        0 0 14px rgba(220,228,236,0.035);
}

.photo-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-placeholder {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 220px;
    text-align: center;
    padding: 1rem;
}

.photo-placeholder-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 16px rgba(220,228,236,0.04);
    overflow: hidden;
}

.photo-placeholder-icon img {
    width: 50px;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 6px rgba(255,255,255,0.18))
        drop-shadow(0 0 12px rgba(220,228,236,0.08));
    opacity: 0.95;
    animation: crownFloat 4.2s ease-in-out infinite;
}

.photo-placeholder-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
    color: #f6f9fc;
    margin-bottom: 0.35rem;
}

.photo-placeholder-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(225,230,236,0.66);
}

/* Требования к фото/видео */
.photo-requirements,
.video-requirements {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.2rem;
}

.photo-requirements p,
.video-requirements p {
    margin: 0.3rem 0;
    color: rgba(220, 230, 245, 0.75);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
}

.photo-requirements strong,
.video-requirements strong {
    color: #e0e8f5;
    font-weight: 700;
}

/* Мульти-загрузка */
.multi-upload-area,
.video-upload-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-input {
    display: none;
}

.upload-trigger {
    width: 100%;
    height: 46px;
}

.upload-trigger .btn-text {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.upload-counter {
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(220, 230, 245, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-align: center;
}

/* Видео превью */
.video-preview {
    position: relative;
    min-height: 200px;
    border-radius: 18px;
    border: 1px dashed rgba(233, 239, 245, 0.14);
    background: linear-gradient(
        180deg,
        rgba(26, 29, 34, 0.56) 0%,
        rgba(10, 12, 16, 0.72) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(220, 230, 245, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.video-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

/* Дополнительные чекбоксы */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.checkbox-group {
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-group .field-label {
    margin-bottom: 0.8rem;
    padding-left: 0;
}

.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(220, 230, 245, 0.8);
    transition: color 0.2s ease;
}

.radio-item:hover {
    color: #f0f5fc;
}

.radio-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(200, 215, 235, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked {
    border-color: #c0d0e5;
    background: rgba(200, 215, 235, 0.1);
}

.radio-item input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e8f5, #c0d0e0);
    box-shadow: 0 0 8px rgba(220, 230, 245, 0.5);
}

/* ===== ТЕГИ (АККОРДЕОН, БЕЗ СКРОЛЛА) ===== */
.tags-selection {
    position: relative;
}

.tags-search {
    margin-bottom: 1.2rem;
}

.tags-counter {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e0e8f5;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Без скролла — все категории видны */
.tags-categories {
    padding-right: 0;
}

.tag-category {
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-category:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.tag-category-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.tag-category-name {
    font-weight: 600;
    color: #e8f0f8;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-category-toggle {
    color: #a0b8d0;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.tag-category-content {
    padding: 1.2rem;
    transition: max-height 0.3s ease;
}

.tag-category-content.collapsed {
    display: none !important;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.5rem;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(220, 230, 245, 0.8);
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 215, 235, 0.2);
    color: #f0f5fc;
}

.tag-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(200, 215, 235, 0.4);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.tag-item input[type="checkbox"]:checked {
    border-color: #c0d0e5;
    background: linear-gradient(135deg, rgba(200, 215, 235, 0.2), rgba(200, 215, 235, 0.1));
}

.tag-item input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e0e8f5;
    font-size: 10px;
    font-weight: bold;
}

.tag-item:has(input:checked) {
    background: rgba(200, 215, 235, 0.08);
    border-color: rgba(200, 215, 235, 0.3);
    color: #f5f9fc;
}

/* Кнопка отправки */
.submit-row {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.submit-button {
    min-width: 320px;
    height: 58px;
    padding: 0 2rem;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
}

.submit-button .btn-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Нижняя платиновая линия */
.auth-bottom-platinum {
    margin-top: 2.8rem;
}

/* ========== АНИМАЦИИ ========== */
@keyframes authPlatinumDots {
    0%, 100% {
        opacity: 0.28;
        transform: translate3d(0, 0, 0);
    }
    25% {
        opacity: 0.48;
    }
    50% {
        opacity: 0.24;
        transform: translate3d(2px, -2px, 0);
    }
    75% {
        opacity: 0.5;
        transform: translate3d(-2px, 1px, 0);
    }
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.82;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.03);
    }
}

@keyframes softDiamondPulse {
    0%, 100% {
        opacity: 0.82;
        box-shadow:
            0 0 8px rgba(255,255,255,0.14),
            0 0 14px rgba(220,228,236,0.04);
    }
    50% {
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255,255,255,0.2),
            0 0 16px rgba(220,228,236,0.07);
    }
}

@keyframes crownFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* ========== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ========== */
.auth-decor-chain {
    position: absolute;
    top: -30px;
    right: 0;
    width: 160px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
    filter:
        drop-shadow(0 0 10px rgba(255,255,255,0.12))
        drop-shadow(0 0 20px rgba(220,228,236,0.06));
    transform: translateX(20%);
}

.chain-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    box-shadow:
        0 0 6px rgba(255,255,255,0.9),
        0 0 14px rgba(220,228,236,0.6),
        0 0 28px rgba(220,228,236,0.3);
    animation: sparkFlash 1.6s ease-out forwards;
}

.spark.big {
    width: 5px;
    height: 5px;
    box-shadow:
        0 0 10px rgba(255,255,255,1),
        0 0 22px rgba(220,228,236,0.8),
        0 0 40px rgba(220,228,236,0.4);
}

@keyframes sparkFlash {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* ========== PANTHER BACKGROUND ========== */
html,
body {
    min-height: 100%;
}

body {
    position: relative;
    background: #000;
}

.panther-fixed-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.panther-fixed {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42vw;
    max-width: 760px;
    min-width: 320px;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.9;
    filter: brightness(0.92) contrast(1.04);
    pointer-events: none;
}

.panther-fixed-left {
    left: -130px;
    object-position: left bottom;
}

.panther-fixed-right {
    right: -120px;
    object-position: right bottom;
}

.panther-fixed-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.38) 0%,
            rgba(0,0,0,0.14) 18%,
            rgba(0,0,0,0.08) 32%,
            rgba(0,0,0,0.08) 68%,
            rgba(0,0,0,0.14) 82%,
            rgba(0,0,0,0.38) 100%
        ),
        radial-gradient(
            circle at center,
            rgba(0,0,0,0.08) 0%,
            rgba(0,0,0,0.28) 58%,
            rgba(0,0,0,0.62) 100%
        );
}

.site-wrapper {
    position: relative;
    z-index: 2;
}

.auth-page {
    position: relative;
    z-index: 8;
}

.auth-page::before,
.auth-page::after {
    z-index: 0;
}

/* ========== МЕДИА-ЗАПРОСЫ ========== */
@media (max-width: 1180px) {
    .profile-row {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
    
    .profile-row .data-panel-form {
        grid-template-columns: 1fr;
    }
    
    .form-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-dropzone {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .profile-row {
        grid-template-columns: 1fr;
    }
    
    .profile-row .photo-dropzone {
        min-height: 300px;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 820px) {
    .auth-form {
        padding: 1.2rem;
    }
    .auth-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
    .auth-title {
        font-size: clamp(2.4rem, 11vw, 4.2rem);
        letter-spacing: 0.08em;
    }
    .auth-role {
        gap: 0.7rem;
        padding: 0.72rem 1rem;
    }
    .auth-role-label,
    .auth-role-value {
        font-size: 0.8rem;
        letter-spacing: 0.16em;
    }
    .submit-button {
        width: 100%;
        min-width: 0;
    }
    .auth-page::after {
        opacity: 0.28;
    }
    .tag-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page::after,
    .auth-hero-glow,
    .auth-role-diamond,
    .section-caption-diamond,
    .photo-placeholder-icon {
        animation: none !important;
    }
    .auth-role,
    .photo-dropzone,
    .lux-input,
    .lux-textarea,
    .submit-button,
    .upload-trigger {
        transition: none !important;
    }
}

.category-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #c0d0e0;
    stroke: #c0d0e0;
    stroke-width: 1.8;
    fill: none;
    transition: color 0.2s ease, stroke 0.2s ease;
    flex-shrink: 0;
    display: block;
}

.tag-category-header:hover .category-icon {
    color: #e0e8f5;
    stroke: #e0e8f5;
}

/* Для мобильной версии — убедимся, что стили не перебиваются */
@media (max-width: 767px) {
    .category-icon {
        width: 18px !important;
        height: 18px !important;
        color: #c0d0e0 !important;
        stroke: #c0d0e0 !important;
        fill: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .tag-category-name svg {
        width: 18px !important;
        height: 18px !important;
        color: #c0d0e0 !important;
        stroke: #c0d0e0 !important;
        fill: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.video-icon svg {
    width: 48px;
    height: 48px;
    color: #c0d0e0;
    filter: drop-shadow(0 0 8px rgba(220, 230, 245, 0.3));
    transition: color 0.2s ease, filter 0.2s ease;
}

.video-placeholder:hover .video-icon svg {
    color: #e0e8f5;
    filter: drop-shadow(0 0 12px rgba(220, 230, 245, 0.5));
}

/* Сетка для загрузки фотографий */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 1.2rem;
}

.upload-slot {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 14px;
    border: 1px dashed rgba(233, 239, 245, 0.2);
    background: linear-gradient(
        180deg,
        rgba(26, 29, 34, 0.5) 0%,
        rgba(10, 12, 16, 0.65) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.upload-slot:hover {
    border-color: rgba(239, 244, 249, 0.3);
    background: linear-gradient(
        180deg,
        rgba(36, 40, 46, 0.55) 0%,
        rgba(14, 16, 20, 0.7) 100%
    );
}

.upload-slot--filled {
    border-style: solid;
    border-color: rgba(200, 215, 235, 0.3);
}

.slot-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: rgba(220, 230, 245, 0.5);
}

.slot-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(220, 230, 245, 0.4);
}

.slot-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f0f5fc;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-remove:hover {
    background: rgba(200, 80, 70, 0.8);
    transform: scale(1.1);
}

/* Видео превью */
.video-preview-wrapper {
    position: relative;
    width: 100%;
    min-height: 220px;
    border-radius: 18px;
    border: 1px dashed rgba(233, 239, 245, 0.16);
    background: linear-gradient(
        180deg,
        rgba(26, 29, 34, 0.56) 0%,
        rgba(10, 12, 16, 0.72) 100%
    );
    margin-bottom: 1rem;
}

#videoPlayer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 18px;
    background: #000;
    display: none;
    z-index: 2;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(220, 230, 245, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    z-index: 1;
}

.video-icon svg {
    width: 56px;
    height: 56px;
    color: rgba(200, 215, 235, 0.5);
    filter: drop-shadow(0 0 10px rgba(220, 230, 245, 0.2));
}