/* ── Auth Page ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orenji-500) 0%, var(--orenji-700) 50%, var(--slate-900) 100%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .auth-card {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--slate-800);
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -40px;
    justify-content: center;
}

.auth-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--orenji-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-orenji);
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* ── Refactored Auth/Scan Utilities ── */
.auth-page-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orenji-500) 0%, var(--slate-900) 100%);
}

.auth-card-premium {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .auth-card-premium {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--slate-800);
}

.btn-premium-action {
    width: 100%;
    height: 56px;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.badge-premium-success {
    padding: 8px 16px;
    font-size: 14px;
    background: var(--green-50);
    color: var(--green-600);
    border-radius: var(--radius-full);
    font-weight: 600;
}

[data-theme="dark"] .badge-premium-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.alert-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0.3;
}

.alert-card.alert-warning::before {
    background: var(--amber-500);
}

.alert-card.alert-danger::before {
    background: var(--red-500);
}

.alert-card.alert-info::before {
    background: var(--blue-500);
}

.alert-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Login Split Layout ── */

/* ── Social Login Styles ── */
.social-divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}
.social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--slate-200);
    z-index: 1;
}
[data-theme='dark'] .social-divider::before {
    background: var(--slate-800);
}
.social-divider-text {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}

[data-theme='dark'] .social-divider-text {
    background: #0f172a;
}
.social-btn-group {
    display: flex;
    gap: 12px;
    width: 100%;
}
.btn-social-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}
.btn-social-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-social-google {
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
}
[data-theme='dark'] .btn-social-google {
    background: var(--slate-900);
    border-color: var(--slate-800);
    color: var(--slate-200);
}
.btn-social-line {
    background: #06C755;
    color: white;
    border: none;
}
.social-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}


/* -- Disabled State -- */
.btn-social-item.disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.8);
    cursor: not-allowed;
    border-color: var(--slate-200) !important;
}


/* ── Pending / Status Page ── */
.pending-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.pulse-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid var(--orenji-500);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.pulse-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

[data-theme='dark'] .pulse-icon {
    background: var(--slate-800);
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    80%, 100% { transform: scale(1.4); opacity: 0; }
}

.info-card {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 24px;
    text-align: left;
    max-width: 360px;
}

.info-card-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-card-list {
    margin: 8px 0 0 -10px;
    padding: 0;
    list-style-type: disc;
    text-align: left;
}

.info-card-list li {
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
}

.stat-icon-mini {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.stat-icon-mini i, .stat-icon-mini svg {
    width: 16px;
    height: 16px;
}

/* ── Layout Overrides ── */
.login-hero-panel {
    position: sticky !important;
    top: 0;
    height: 100vh;
}

/* Floating Theme Toggle */
.lp-theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.lp-theme-btn {
    width: 44px;
    height: 44px;
    background: var(--card, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-theme-btn:hover {
    background: var(--slate-50, #f8fafc);
    border-color: var(--orenji-500, #ff6b35);
    color: var(--orenji-500, #ff6b35);
    transform: translateY(-2px) rotate(15deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .lp-theme-btn {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .lp-theme-btn:hover {
    background: #334155;
    color: #f8fafc;
}

