/* Premium split-screen auth — Admin & Seller login */
.auth-premium-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden;
    background: #0f172a;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

.auth-premium-body .page-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex: none;
}

.auth-premium-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    margin: 0;
}

/* ── Left hero panel ── */
.auth-premium-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2.75rem;
    color: #fff;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background: transparent;
}

.auth-premium-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80") center center / cover no-repeat;
    z-index: 0;
}

.auth-premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(247, 103, 7, 0.78) 100%),
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(255, 146, 43, 0.35), transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.auth-premium-hero > * {
    position: relative;
    z-index: 2;
}

.auth-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-hero-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.28);
}

.auth-hero-logo img {
    display: block;
    max-height: 44px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-hero-brand-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.auth-hero-copy {
    max-width: 100%;
}

.auth-hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #fff;
}

.auth-hero-title-line {
    display: block;
}

.auth-hero-title-line--accent {
    color: rgba(255, 255, 255, 0.72);
}

.auth-hero-sub {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 22rem;
}

.auth-hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2.5rem;
}

.auth-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.auth-hero-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Right form panel ── */
.auth-premium-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    background: #fff;
}

.auth-premium-panel-inner {
    width: 100%;
    max-width: 420px;
}

.auth-form-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #f76707, #ff922b);
    box-shadow: 0 4px 14px rgba(247, 103, 7, 0.28);
    margin-bottom: 1rem;
}

.auth-form-header {
    margin-bottom: 1.85rem;
}

.auth-form-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.55rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}

.auth-form-sub {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

.auth-demo-alert {
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
}

/* Form fields */
.auth-field {
    margin-bottom: 1.35rem;
}

.auth-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
    padding: 0 0.15rem;
}

.auth-field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.auth-field-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f76707;
    text-decoration: none;
}

.auth-field-link:hover {
    color: #e8590c;
    text-decoration: underline;
}

.auth-field-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 3.1rem;
    padding: 0 0.5rem 0 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field-wrap:hover {
    border-color: #cbd5e1;
}

.auth-field-wrap:focus-within {
    border-color: #f76707;
    box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.1);
}

.auth-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 0.15rem;
    color: #94a3b8;
    font-size: 1rem;
    flex-shrink: 0;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-field-wrap:focus-within .auth-field-icon {
    color: #f76707;
}

.auth-field-input {
    flex: 1;
    min-width: 0;
    min-height: 2.9rem;
    padding: 0.65rem 0.5rem;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 0.925rem;
    font-weight: 500;
    color: #0f172a;
    box-shadow: none;
}

.auth-field-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.auth-field-input:focus {
    outline: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.auth-field-wrap--password .auth-field-input {
    padding-right: 0.25rem;
}

.auth-field-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-right: 0.2rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}

.auth-field-toggle:hover {
    color: #f76707;
    background: rgba(247, 103, 7, 0.1);
}

.auth-field-wrap:focus-within .auth-field-toggle {
    color: #64748b;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.15rem 0.2rem;
    cursor: pointer;
    user-select: none;
}

.auth-remember input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: #f76707;
    cursor: pointer;
    border-radius: 0.25rem;
}

.auth-remember span {
    font-size: 0.875rem;
    color: #64748b;
}

.auth-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f76707 0%, #ff922b 100%);
    box-shadow: 0 8px 22px rgba(247, 103, 7, 0.32);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(247, 103, 7, 0.38);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-form-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Demo credentials card */
.auth-demo-card {
    margin-top: 1.5rem;
    border: 1px solid rgba(247, 103, 7, 0.22) !important;
    border-radius: 0.85rem !important;
    background: linear-gradient(135deg, rgba(247, 103, 7, 0.04), #fff);
    overflow: hidden;
}

.auth-demo-card .card-body {
    padding: 1rem 1.15rem;
}

.auth-demo-card .btn-outline-primary {
    border-color: #f76707;
    color: #f76707;
    font-weight: 600;
    font-size: 0.75rem;
}

.auth-demo-card .btn-outline-primary:hover {
    background: #f76707;
    border-color: #f76707;
    color: #fff;
}

/* Legacy auth pages (forgot password etc.) in right panel */
.auth-premium-panel .page-center {
    width: 100%;
}

.auth-premium-panel .container-tight {
    max-width: 420px;
    padding: 0;
}

.auth-premium-panel .card {
    border-radius: 1rem;
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.auth-premium-panel .btn-primary {
    background: linear-gradient(135deg, #f76707, #ff922b);
    border: none;
    font-weight: 700;
    min-height: 2.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(247, 103, 7, 0.28);
}

.auth-premium-panel .btn-primary:hover {
    background: linear-gradient(135deg, #e8590c, #f76707);
}

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

    .auth-premium-hero {
        min-height: auto;
        padding: 2rem 1.5rem 1.75rem;
    }

    .auth-hero-brand-row {
        margin-bottom: 1.75rem;
    }

    .auth-hero-title {
        font-size: clamp(1.45rem, 5vw, 1.85rem);
    }

    .auth-hero-sub {
        font-size: 0.9rem;
        max-width: none;
    }

    .auth-hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-top: 1.5rem;
    }

    .auth-hero-feature {
        font-size: 0.8rem;
    }

    .auth-premium-panel {
        padding: 2rem 1.25rem 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .auth-hero-features {
        flex-direction: column;
    }
}
