/*
 * OPUS Auth Pages Styling
 */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #0F172A 0%, #1a2744 50%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 184, 212, 0.06) 0%, transparent 40%);
    animation: authBgMove 20s ease-in-out infinite alternate;
}

@keyframes authBgMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-3%, -3%); }
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.auth-left .brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #00B8D4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: #0F172A;
    margin-bottom: 24px;
}

.auth-left h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.auth-left p {
    color: #94A3B8;
    font-size: 16px;
    max-width: 380px;
    text-align: center;
    line-height: 1.7;
}

.auth-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #CBD5E1;
    font-size: 14px;
}

.auth-feature i {
    color: var(--accent);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.auth-right {
    width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .auth-card {
    background: rgba(30, 41, 59, 0.95);
}

.auth-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

[data-theme="dark"] .auth-card h2 {
    color: #F1F5F9;
}

.auth-card .auth-subtitle {
    color: #64748B;
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

[data-theme="dark"] .auth-card label {
    color: #CBD5E1;
}

.auth-card .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

[data-theme="dark"] .auth-card .form-control {
    background: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

.auth-card .form-control:focus {
    outline: none;
    border-color: #00E676;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00E676, #00C853);
    color: #0F172A;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.35);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #94A3B8;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after {
    background: #334155;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

[data-theme="dark"] .google-btn {
    background: #1E293B;
    border-color: #334155;
    color: #CBD5E1;
}

.google-btn:hover {
    background: #F1F5F9;
    border-color: #00E676;
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #64748B;
}

.auth-footer a {
    color: #00E676;
    font-weight: 600;
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Pending Page */
.pending-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A, #1a2744);
}

.pending-card {
    text-align: center;
    max-width: 480px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pending-card .pending-icon {
    font-size: 64px;
    color: #F59E0B;
    margin-bottom: 24px;
}

.pending-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pending-card p {
    color: #64748B;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 991px) {
    .auth-left { display: none; }
    .auth-right { width: 100%; }
}

@media (max-width: 576px) {
    .auth-card { padding: 28px 20px; }
    .auth-right { padding: 20px; }
}
