@import url('./v2-system.css');
/* =============================================
   SRGupi / Lola Pay - Premium Authentication Styles
   ============================================= */

:root {
    --pi-primary: #C6E547;
    --pi-primary-hover: #b8d63e;
    --pi-dark: #071F18;
    --pi-dark-alt: #0B4B38;
    --pi-light: #F8FAF7;
    --pi-success: #10B981;
    --pi-warning: #F59E0B;
    --pi-danger: #EF4444;
    --pi-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

body.auth-page {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 80% 12%, rgba(200, 237, 66, 0.14), transparent 28%), linear-gradient(145deg, #08271e, #051813 70%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 15px;
}

/* Floating Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(200, 237, 66, 0.08);
    animation: floatParticle 16s infinite ease-in-out;
}

.particle:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 120px; height: 120px; top: 60%; right: 10%; animation-delay: 3s; }
.particle:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 30%; animation-delay: 6s; }
.particle:nth-child(4) { width: 40px; height: 40px; top: 30%; right: 25%; animation-delay: 9s; }
.particle:nth-child(5) { width: 100px; height: 100px; bottom: 10%; right: 35%; animation-delay: 12s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.8; }
}

.auth-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: #FFFFFF !important;
    color: #071F18 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35) !important;
    padding: 44px 38px !important;
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand .brand-icon {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #0B4B38, #071F18) !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
    box-shadow: 0 8px 24px rgba(11, 75, 56, 0.25) !important;
}

.auth-brand .brand-icon i, .auth-brand .brand-icon svg {
    color: #C8ED42 !important;
    stroke: #C8ED42 !important;
    width: 28px !important;
    height: 28px !important;
}

.auth-brand h1 {
    color: #071F18 !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 6px;
}

.auth-brand h1 span {
    color: #0B4B38 !important;
}

.auth-brand p {
    color: #4B5563 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin: 0;
}

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

.auth-form label, .auth-card label {
    color: #1E293B !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.auth-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .form-control {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    height: 50px !important;
    padding-left: 44px;
    font-size: 14.5px;
    transition: all 0.2s ease;
}

.auth-form .form-control.with-prefix {
    padding-left: 82px !important;
}

.auth-form .form-control::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

.auth-form .form-control:focus {
    border-color: #0B4B38 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(11, 75, 56, 0.15) !important;
    color: #0F172A !important;
}

.auth-form .input-icon, .auth-card .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B !important;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.auth-form .input-icon i, .auth-form .input-icon svg,
.auth-card .input-icon i, .auth-card .input-icon svg {
    color: #64748B !important;
    stroke: #64748B !important;
    width: 18px;
    height: 18px;
}

.auth-card .mobile-prefix {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    color: #1E293B !important;
    border-right: 1.5px solid #CBD5E1 !important;
    padding-right: 8px;
    font-weight: 600;
    font-size: 14px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.password-toggle i, .password-toggle svg {
    color: #64748B !important;
    stroke: #64748B !important;
    width: 18px;
    height: 18px;
}

.auth-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
}

.auth-checkbox input[type="checkbox"] {
    display: none !important;
}

.auth-checkbox .checkmark {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid #0B3D2E !important;
    border-radius: 6px !important;
    background: #F8FAFC !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

.auth-checkbox:hover .checkmark {
    border-color: #071F18 !important;
    box-shadow: 0 0 0 3px rgba(11, 75, 56, 0.12) !important;
}

.auth-checkbox input:checked + .checkmark {
    background: #0B4B38 !important;
    border-color: #0B4B38 !important;
}

.auth-checkbox input:checked + .checkmark::after {
    content: '' !important;
    width: 5px !important;
    height: 9px !important;
    border: solid #FFFFFF !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    margin-top: -2px !important;
}

.auth-checkbox span {
    color: #1E293B !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.auth-checkbox a {
    color: #0B4B38 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.auth-checkbox a:hover {
    color: #10B981 !important;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.forgot-link {
    color: #0B4B38;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

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

.btn-auth-primary {
    width: 100% !important;
    height: 50px !important;
    background: #0B4B38 !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.2s !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(11, 75, 56, 0.2);
}

.btn-auth-primary:hover {
    background: #071F18 !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(11, 75, 56, 0.3) !important;
    transform: translateY(-1px);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 28px 0 20px;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E2E8F0 !important;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 14px;
    color: #64748B !important;
    font-weight: 600 !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.auth-footer p {
    color: #475569 !important;
    font-size: 13.5px;
    margin-bottom: 20px;
}

.auth-footer a {
    color: #0B4B38 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.auth-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.auth-features .feature-tag {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 11.5px;
    padding: 6px 12px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-features .feature-tag i, .auth-features .feature-tag svg {
    color: #0B4B38 !important;
    stroke: #0B4B38 !important;
    width: 13px;
    height: 13px;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #64748B !important;
}

.secure-badge i, .secure-badge svg {
    width: 14px;
    height: 14px;
    color: #64748B !important;
    stroke: #64748B !important;
}

.field-error {
    color: #EF4444;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 4px;
    display: none;
}

.field-error.show {
    display: block;
}

/* Password strength bar */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #E2E8F0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-weak { width: 25%; background: #EF4444; }
.strength-fair { width: 50%; background: #F59E0B; }
.strength-good { width: 75%; background: #3B82F6; }
.strength-strong { width: 100%; background: #10B981; }

.strength-text {
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
    display: block;
}

.text-weak { color: #EF4444; }
.text-fair { color: #F59E0B; }
.text-good { color: #3B82F6; }
.text-strong { color: #10B981; }
