﻿/* =========================================
   SHARED COMPONENTS / UTILITIES
   ========================================= */

.section-container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.main-content {
    padding-top: var(--header-height);
}

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

.glass-morphism {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-md);
}

.primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--slate-900), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.btn-hover {
    transition: var(--transition-smooth);
    will-change: transform, box-shadow;
}

    .btn-hover:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   AUTH PAGES
   ========================================= */

.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/landing-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 2rem 1rem;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.82));
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
}

.auth-card-wide,
.auth-card--compact {
    max-width: 540px;
}

.auth-card--wide {
    max-width: 620px;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.35rem;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.96rem;
}

.auth-error {
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #dc2626;
}

.auth-footer {
    margin-top: 1.75rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.25rem;
}

    .auth-footer p {
        margin: 0;
        color: var(--slate-500);
        font-weight: 600;
        font-size: 0.94rem;
    }

    .auth-footer a {
        color: var(--primary);
        font-weight: 800;
        text-decoration: none;
    }

/* =========================================
   PREMIUM AUTH SHELL
   ========================================= */

.auth-shell {
    padding: clamp(2rem, 4vw, 4rem) 0;
    min-height: calc(100vh - var(--header-height, 80px));
    display: flex;
    align-items: center;
}

.auth-shell__container {
    width: 100%;
}

.auth-shell__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: stretch;
}

.auth-aside,
.auth-main {
    border: 1px solid var(--border-light, #e5e7eb);
    border-radius: 24px;
    background: var(--white, #ffffff);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.auth-aside {
    padding: clamp(2rem, 4vw, 3rem);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
}

.auth-aside__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 1.25rem;
}

.auth-aside__title {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.auth-aside__text {
    margin: 0 0 1.5rem;
    color: #64748b;
    line-height: 1.75;
}

.auth-aside__features {
    margin: 0;
    padding-left: 1.2rem;
}

    .auth-aside__features li + li {
        margin-top: 0.75rem;
    }

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.auth-card__eyebrow {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.auth-card__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-card__subtitle {
    margin: 0 0 1.5rem;
    color: #64748b;
    line-height: 1.7;
}

.auth-card__footer {
    margin-top: 1.25rem;
    text-align: center;
}

.auth-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
}

.auth-card-wrap {
    width: 100%;
    max-width: 620px;
}

.auth-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.auth-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-link--small {
    font-size: 0.88rem;
}

.auth-muted {
    color: #64748b;
    margin-right: 0.35rem;
}

/* =========================================
   FORMS
   ========================================= */

.auth-form {
    display: grid;
    gap: 1rem;
}

.form-grid-2,
.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

    .form-group-modern label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--slate-500);
    }

.form-label-row,
.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.form-label-modern {
    font-size: 0.94rem;
    font-weight: 600;
    color: #0f172a;
}

.form-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.input-modern {
    position: relative;
}

    .input-modern i {
        position: absolute;
        left: 0.95rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--slate-400);
        font-size: 0.95rem;
        pointer-events: none;
        transition: var(--transition-fast);
    }

    .input-modern input,
    .input-modern select,
    .input-modern textarea {
        width: 100%;
        min-height: 48px;
        padding: 0.8rem 0.95rem 0.8rem 2.65rem;
        border-radius: 0.85rem;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.78);
        color: var(--slate-900);
        font-size: 0.95rem;
        font-weight: 600;
        outline: none;
        transition: var(--transition-smooth);
        box-shadow: none;
        appearance: none;
    }

    .input-modern textarea {
        min-height: 120px;
        height: auto;
        padding-top: 0.95rem;
        padding-bottom: 0.95rem;
        resize: vertical;
    }

        .input-modern input::placeholder,
        .input-modern textarea::placeholder,
        .form-control-modern::placeholder {
            color: var(--slate-400);
            font-weight: 500;
        }

        .input-modern input:focus,
        .input-modern select:focus,
        .input-modern textarea:focus,
        .form-control-modern:focus {
            border-color: rgba(0, 102, 255, 0.35);
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
        }

    .input-modern:focus-within i {
        color: var(--primary);
    }

.form-control-modern {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-check-modern,
.checkbox-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 1.6rem;
}

    .form-check-modern input[type="checkbox"],
    .checkbox-modern input {
        width: 16px;
        height: 16px;
        accent-color: var(--primary);
    }

    .form-check-modern label {
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--slate-600);
        margin: 0;
    }

.form-error {
    font-size: 0.82rem;
    color: #dc2626;
    margin-top: 0.35rem;
    display: inline-block;
}

.form-alert {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-size: 0.92rem;
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.16);
}

/* =========================================
   BUTTONS / ALERTS
   ========================================= */

.btn-primary-full,
.btn-block {
    width: 100%;
}

.btn-primary-full {
    height: 48px;
    border-radius: 0.9rem;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

    .btn-primary-full:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-premium:hover {
        transform: translateY(-1px);
        color: #fff;
        text-decoration: none;
    }

.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.alert-modern__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.alert-modern__content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-modern--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.18);
    color: #166534;
}

    .alert-modern--success .alert-modern__icon {
        background: rgba(34, 197, 94, 0.16);
        color: #166534;
    }

.alert-modern--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.18);
    color: #991b1b;
}

    .alert-modern--error .alert-modern__icon {
        background: rgba(239, 68, 68, 0.16);
        color: #991b1b;
    }

.alert-modern ul {
    margin: 0;
    padding-left: 1.1rem;
}

    .alert-modern ul li + li {
        margin-top: 0.35rem;
    }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991.98px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }

    .auth-shell__grid {
        grid-template-columns: 1fr;
    }

    .auth-aside {
        display: none;
    }

    .auth-main {
        padding: 1rem;
    }

    .auth-card,
    .auth-card--wide,
    .auth-card--compact,
    .auth-card-wide {
        max-width: 100%;
        padding: 1rem;
    }

    .form-grid-2,
    .form-grid-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row-between,
    .form-label-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.35rem;
        border-radius: 1.25rem;
    }

    .auth-title {
        font-size: 1.55rem;
    }

    .auth-subtitle {
        font-size: 0.9rem;
    }

    .input-modern input,
    .input-modern select,
    .input-modern textarea,
    .btn-primary-full {
        min-height: 46px;
        font-size: 0.92rem;
    }
}

/* =========================================
   SHARED PREMIUM INPUT SYSTEM
   ========================================= */

.form-label-modern {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.form-control-premium {
    width: 100%;
    min-height: 56px;
    padding: 0 1.15rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--slate-900);
    font-size: 0.98rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    appearance: none;
}

    .form-control-premium::placeholder {
        color: var(--slate-400);
        font-weight: 500;
    }

    .form-control-premium:focus {
        border-color: rgba(0, 102, 255, 0.35);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.08), 0 12px 30px rgba(0, 102, 255, 0.08);
        transform: translateY(-1px);
    }

    .form-control-premium[readonly] {
        background: rgba(241, 245, 249, 0.95);
        color: var(--slate-600);
        cursor: not-allowed;
        border-style: dashed;
    }

textarea.form-control-premium {
    min-height: 120px;
    padding: 1rem 1.15rem;
    resize: vertical;
}

select.form-control-premium {
    padding-right: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}

input[type="file"].form-control-premium {
    padding: 0.8rem 1rem;
    min-height: 60px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.4;
}

    input[type="file"].form-control-premium::file-selector-button {
        margin-right: 1rem;
        border: none;
        background: linear-gradient(135deg, rgba(0,102,255,0.10), rgba(0,102,255,0.18));
        color: var(--primary);
        font-weight: 800;
        padding: 0.75rem 1rem;
        border-radius: 0.9rem;
        cursor: pointer;
        transition: var(--transition-fast);
    }

        input[type="file"].form-control-premium::file-selector-button:hover {
            background: linear-gradient(135deg, rgba(0,102,255,0.18), rgba(0,102,255,0.24));
        }

.validation-message-premium {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dc2626;
}


/* =============================
   AUTH PAGES
   ============================= */

/*.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/landing-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 2rem 1rem;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.82));
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
}

.auth-card-wide {
    max-width: 540px;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.35rem;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.96rem;
}

.auth-error {
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #dc2626;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    margin-bottom: 1.2rem;
}

    .form-group-modern label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--slate-500);
    }

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.input-modern {
    position: relative;
}

    .input-modern i {
        position: absolute;
        left: 0.95rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--slate-400);
        font-size: 0.95rem;
        pointer-events: none;
        transition: var(--transition-fast);
    }

    .input-modern input,
    .input-modern select,
    .input-modern textarea {
        width: 100%;
        height: 48px;
        padding: 0 0.95rem 0 2.65rem;
        border-radius: 0.85rem;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.78);
        color: var(--slate-900);
        font-size: 0.95rem;
        font-weight: 600;
        outline: none;
        transition: var(--transition-smooth);
        box-shadow: none;
        appearance: none;
    }

    .input-modern textarea {
        min-height: 120px;
        height: auto;
        padding-top: 0.95rem;
        padding-bottom: 0.95rem;
        resize: vertical;
    }

        .input-modern input::placeholder,
        .input-modern textarea::placeholder {
            color: var(--slate-400);
            font-weight: 500;
        }

        .input-modern input:focus,
        .input-modern select:focus,
        .input-modern textarea:focus {
            border-color: rgba(0, 102, 255, 0.35);
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
        }

    .input-modern:focus-within i {
        color: var(--primary);
    }

.form-check-modern {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

    .form-check-modern input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--primary);
    }

    .form-check-modern label {
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--slate-600);
        margin: 0;
    }

.form-error {
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 0.35rem;
    display: inline-block;
}

.btn-primary-full {
    width: 100%;
    height: 48px;
    border-radius: 0.9rem;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

    .btn-primary-full:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

.auth-footer {
    margin-top: 1.75rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.25rem;
}

    .auth-footer p {
        margin: 0;
        color: var(--slate-500);
        font-weight: 600;
        font-size: 0.94rem;
    }

    .auth-footer a {
        color: var(--primary);
        font-weight: 800;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .auth-card,
    .auth-card-wide {
        max-width: 100%;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.35rem;
        border-radius: 1.25rem;
    }

    .auth-title {
        font-size: 1.55rem;
    }

    .auth-subtitle {
        font-size: 0.9rem;
    }

    .input-modern input,
    .input-modern select,
    .input-modern textarea,
    .btn-primary-full {
        height: 46px;
        font-size: 0.92rem;
    }
}

.auth-shell {
    padding: clamp(2rem, 4vw, 4rem) 0;
    min-height: calc(100vh - var(--header-height, 80px));
    display: flex;
    align-items: center;
}

.auth-shell__container {
    width: 100%;
}

.auth-shell__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: stretch;
}

.auth-aside,
.auth-main {
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 24px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.auth-aside {
    padding: clamp(2rem, 4vw, 3rem);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
}

.auth-aside__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 1.25rem;
}

.auth-aside__title {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.auth-aside__text {
    margin: 0 0 1.5rem;
    color: #64748b;
    line-height: 1.75;
}

.auth-aside__features {
    margin: 0;
    padding-left: 1.2rem;
}

    .auth-aside__features li + li {
        margin-top: 0.75rem;
    }

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.auth-card--compact {
    max-width: 540px;
}

.auth-card--wide {
    max-width: 620px;
}

.auth-card__eyebrow {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.auth-card__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-card__subtitle {
    margin: 0 0 1.5rem;
    color: #64748b;
    line-height: 1.7;
}

.auth-card__footer {
    margin-top: 1.25rem;
    text-align: center;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    display: grid;
    gap: 0.5rem;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-label-modern {
    font-size: 0.94rem;
    font-weight: 600;
    color: #0f172a;
}

.form-control-modern {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control-modern::placeholder {
        color: #94a3b8;
    }

    .form-control-modern:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

.form-error {
    font-size: 0.86rem;
    color: #dc2626;
}

.form-alert {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-size: 0.92rem;
}

.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.16);
}

.checkbox-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #334155;
}

    .checkbox-modern input {
        width: 16px;
        height: 16px;
    }

.auth-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-link--small {
    font-size: 0.88rem;
}

.auth-muted {
    color: #64748b;
    margin-right: 0.35rem;
}

.auth-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
}

.auth-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.btn-block {
    width: 100%;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-premium:hover {
        transform: translateY(-1px);
        color: #fff;
        text-decoration: none;
    }

.text-center {
    text-align: center;
}

@media (max-width: 991.98px) {
    .auth-shell__grid {
        grid-template-columns: 1fr;
    }

    .auth-aside {
        display: none;
    }

    .auth-main {
        padding: 1rem;
    }

    .auth-card,
    .auth-card--wide,
    .auth-card--compact {
        max-width: 100%;
        padding: 1rem;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .form-row-between {
        flex-direction: column;
        align-items: flex-start;
    }
}

.auth-card-wrap {
    width: 100%;
    max-width: 620px;
}

.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.alert-modern__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.alert-modern__content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-modern--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.18);
    color: #166534;
}

    .alert-modern--success .alert-modern__icon {
        background: rgba(34, 197, 94, 0.16);
        color: #166534;
    }

.alert-modern--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.18);
    color: #991b1b;
}

    .alert-modern--error .alert-modern__icon {
        background: rgba(239, 68, 68, 0.16);
        color: #991b1b;
    }

.alert-modern ul {
    margin: 0;
    padding-left: 1.1rem;
}

    .alert-modern ul li + li {
        margin-top: 0.35rem;
    }*/