:root {
    --dogar-navy: #0B1B3D;
    --dogar-navy-dark: #050E24;
    --dogar-orange: #FF5722;
    --dogar-orange-light: #FF7043;
    --dogar-gold: #FFB800;
}

body, html {
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--dogar-navy);
    overflow: hidden !important;
}

.login-wrapper {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
}

/* Hero Left Panel */
.hero-panel {
    background: radial-gradient(circle at 10% 20%, #162C5B 0%, #0B1B3D 60%, #050E24 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 3.5rem;
    height: 100vh;
    max-height: 100vh;
    color: #ffffff;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .hero-panel {
        padding: 3.5rem 4.5rem;
    }
}

.hero-inner-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.hero-glow-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.badge-edition {
    background: rgba(255, 87, 34, 0.18);
    border: 1px solid rgba(255, 87, 34, 0.5);
    color: #FF8A00;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 2.85rem;
    }
}

.hero-subtitle {
    font-size: 0.98rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 680px;
}

/* Pillars Grid */
.pillars-section-header {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--dogar-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin-bottom: 1rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.15rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.pillar-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 87, 34, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pillar-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 87, 34, 0.2);
    color: #FF7043;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.pillar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.pillar-desc {
    font-size: 0.78rem;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
}

/* Features List below Pillars */
.feature-bullets {
    display: flex;
    gap: 1.75rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: #CBD5E1;
}

.feature-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 184, 0, 0.15);
    color: var(--dogar-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Right Panel Form Container */
.form-panel {
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.25rem 2.25rem;
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

.login-brand-logo {
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 4px 8px rgba(255, 87, 34, 0.15));
}

.login-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dogar-navy);
    margin-bottom: 0.2rem;
    letter-spacing: -0.3px;
}

.login-header-subtitle {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 1.5rem;
}

/* Flexbox Input Box */
.input-box-wrapper {
    display: flex;
    align-items: center;
    background-color: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    padding: 0 14px;
    height: 48px;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 0.85rem;
}

.input-box-wrapper:focus-within {
    background-color: #ffffff;
    border-color: var(--dogar-orange);
    box-shadow: 0 0 0 3.5px rgba(255, 87, 34, 0.15);
}

.input-box-icon {
    color: #94A3B8;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.input-box-wrapper:focus-within .input-box-icon {
    color: var(--dogar-orange);
}

.input-box-field {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    padding: 0 !important;
    margin: 0 !important;
}

.input-box-field::placeholder {
    color: #94A3B8 !important;
    opacity: 1;
}

.btn-toggle-eye {
    background: none !important;
    border: none !important;
    color: #94A3B8 !important;
    cursor: pointer;
    padding: 4px !important;
    font-size: 1rem !important;
    margin-left: 8px;
    flex-shrink: 0;
    transition: color 0.2s ease;
    outline: none !important;
}

.btn-toggle-eye:hover {
    color: var(--dogar-navy) !important;
}

/* Checkbox Styling */
.remember-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
    user-select: none !important;
    margin: 0 !important;
}

.remember-checkbox {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    accent-color: var(--dogar-orange) !important;
    vertical-align: middle !important;
    position: static !important;
}

.btn-login-submit {
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
    border: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-submit:hover {
    background: linear-gradient(135deg, #F4511E 0%, #D84315 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

.login-footer-text {
    font-size: 0.8rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer-text a {
    color: var(--dogar-orange);
    font-weight: 600;
    text-decoration: none;
}

.login-footer-text a:hover {
    text-decoration: underline;
}

.forgot-password-link {
    color: var(--dogar-orange);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.forgot-password-link:hover {
    color: var(--dogar-orange-light);
    text-decoration: underline;
}

/* Forgot Password Wizard Styles */
.fp-card {
    display: none;
    animation: fadeInSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fp-steps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.fp-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.fp-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #94A3B8;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}

.fp-step-item.active .fp-step-circle {
    background: #FF5722;
    color: #FFFFFF;
    border-color: #FF5722;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

.fp-step-item.completed .fp-step-circle {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
}

.fp-step-label {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
}

.fp-step-item.active .fp-step-label {
    color: #FF5722;
    font-weight: 700;
}

.fp-step-item.completed .fp-step-label {
    color: #10B981;
}

.fp-steps-line {
    position: absolute;
    top: 16px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.fp-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 87, 34, 0.1);
    color: #FF5722;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 1rem auto;
}

.otp-code-input {
    letter-spacing: 12px;
    text-align: center;
    font-family: 'Outfit', monospace !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    background: #F8FAFC !important;
    border: 2px dashed #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    transition: all 0.2s ease;
}

.otp-code-input:focus {
    border-color: #FF5722 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15) !important;
    outline: none !important;
}

.btn-back-to-login {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-back-to-login:hover {
    color: #0F172A;
    text-decoration: underline;
}

.fp-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    display: none;
    margin-bottom: 1rem;
    align-items: flex-start;
    gap: 8px;
}

.fp-alert-danger {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.fp-alert-success {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.alert-custom-error {
    background-color: #FEF2F2;
    border-left: 4px solid #EF4444;
    color: #991B1B;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 991.98px) {
    body, html {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        background-color: #F8FAFC !important;
    }
    .login-wrapper {
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        background-color: #F8FAFC !important;
    }
    .hero-panel {
        display: none !important;
    }
    .form-panel {
        padding: 1.5rem 1rem !important;
        height: auto !important;
        min-height: 100vh !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        background-color: #F8FAFC !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .login-card {
        box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08) !important;
        padding: 2rem 1.5rem !important;
        margin: auto !important;
    }
}
