/*
 * Modern Design Enhancements for Where2Go Landing & Auth Pages
 * Maintains existing green/gold theme color variables.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Typography for Public Landing & Auth pages */
#header, 
#main, 
#footer, 
#where2go__banner, 
.where2go__login {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ============================================
   Auth Pages — Split Layout
   ============================================ */

.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-wrap {
    display: flex;
    min-height: 100vh;
}

/* ── Brand (left) panel ── */
.auth-brand {
    flex: 0 0 46%;
    background: linear-gradient(150deg, #0d1f0e 0%, #162b17 55%, #112012 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 60px;
    overflow: hidden;
}

.auth-brand__content {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.auth-brand__logo {
    height: 56px;
    display: block;
    margin-bottom: 36px;
}

.auth-brand__headline {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-brand__tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 44px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-brand__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}

.auth-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.auth-stat__val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fdcf60;
    letter-spacing: -0.02em;
    line-height: 1;
}

.auth-stat__lbl {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.auth-stat__sep {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Decorative orbs */
.auth-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-orb--1 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(186, 142, 43, 0.14) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.auth-orb--2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(253, 207, 96, 0.06) 0%, transparent 70%);
    bottom: 60px;
    left: -60px;
}

.auth-orb--3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(25, 46, 26, 0.6) 0%, transparent 70%);
    bottom: 200px;
    right: 30px;
}

/* ── Form (right) panel ── */
.auth-form-wrap {
    flex: 1;
    background: #f5f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
}

.auth-form {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 40px 36px;
    /* border: 1px solid #e8ecf0; */
}

.auth-form__head {
    margin-bottom: 28px;
}

.auth-form__head h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-form__head p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Alert */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: opacity 0.3s ease;
}

.auth-alert--error {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.auth-alert__close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: inherit;
    margin-left: auto;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

.auth-alert__close:hover { opacity: 1; }

/* Field */
.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
    letter-spacing: 0.01em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-field__hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.auth-field__hdr label { margin-bottom: 0; }

.auth-forgot {
    font-size: 0.76rem;
    font-weight: 600;
    color: #BA8E2B;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-forgot:hover { color: #192E1A; text-decoration: none; }

/* Input */
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 13px;
    font-size: 0.9rem;
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

.auth-input {
    width: 100%;
    padding: 10px 14px 10px 38px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    color: #111827 !important;
    font-size: 0.875rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.auth-input:focus {
    border-color: #192E1A !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(25, 46, 26, 0.07) !important;
    outline: none !important;
}

.auth-input::placeholder { color: #b0b7c3 !important; }

.auth-input--pwd { padding-right: 42px !important; }

.auth-pwd-toggle {
    position: absolute;
    right: 11px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    z-index: 2;
    transition: color 0.18s ease;
}

.auth-pwd-toggle:hover { color: #374151; }

/* Autofill */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fafafa inset !important;
    -webkit-text-fill-color: #111827 !important;
}

/* Error message */
.auth-error {
    font-size: 0.76rem;
    color: #dc2626;
    margin-top: 5px;
    min-height: 1em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Submit button */
.auth-btn {
    width: 100%;
    padding: 12px 20px !important;
    background: #192E1A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    margin-top: 10px !important;
    transition: background 0.22s ease, transform 0.18s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer;
}

.auth-btn:hover {
    background: #BA8E2B !important;
    transform: translateY(-1px) !important;
}

.auth-btn:disabled { opacity: 0.7 !important; cursor: not-allowed !important; }

.hideme { display: none; }

/* Sign-up link */
.auth-signup-link {
    text-align: center;
    margin-top: 22px;
    margin-bottom: 0;
    font-size: 0.845rem;
    color: #6b7280;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-signup-link a {
    color: #192E1A;
    font-weight: 700;
    text-decoration: none;
}

.auth-signup-link a:hover { color: #BA8E2B; }

/* Responsive */
@media (max-width: 991px) {
    .auth-wrap { flex-direction: column; }

    .auth-brand {
        flex: 0 0 auto;
        padding: 36px 28px 32px;
        min-height: auto;
    }

    .auth-brand__headline { font-size: 2rem; }
    .auth-brand__tagline, .auth-brand__stats { display: none; }

    .auth-brand__content {
        display: flex;
        align-items: center;
        gap: 18px;
        max-width: 100%;
    }

    .auth-brand__logo { margin-bottom: 0; height: 44px; }

    .auth-form-wrap { padding: 32px 20px; }
    .auth-form { padding: 30px 24px; }
}

/* Landing Page Custom Elements styling */
#header.header-scrolled {
    background: rgba(25, 46, 26, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.navbar a.getstarted {
    border-radius: 30px !important;
    padding: 8px 24px !important;
    border: 2px solid #BA8E2B !important;
    color: #ffffff !important;
    background: rgba(186, 142, 43, 0.1) !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.navbar a.getstarted:hover {
    background: #BA8E2B !important;
    color: #112012 !important;
    border-color: #BA8E2B !important;
}

/* Mobile menu (the white full-screen panel).
   The desktop pill above forces white text on a translucent fill, which on the
   white panel rendered as white-on-white — the label was invisible. Use a
   compact solid gold pill instead, aligned with the nav links above it. */
.navbar-mobile a.getstarted,
.navbar-mobile a.getstarted:focus {
    display: inline-block !important;
    width: auto !important;
    margin: 16px 20px 4px !important;
    padding: 9px 20px !important;
    text-align: center !important;
    background: #BA8E2B !important;
    border: none !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 3px 10px rgba(186, 142, 43, 0.25) !important;
}

.navbar-mobile a.getstarted:hover,
.navbar-mobile li:hover > a.getstarted {
    background: #9c761f !important;
    color: #ffffff !important;
    box-shadow: 0 2px 7px rgba(186, 142, 43, 0.3) !important;
}

.navbar-mobile a.getstarted:active {
    transform: translateY(1px) !important;
    box-shadow: 0 1px 5px rgba(186, 142, 43, 0.28) !important;
}

.download img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.download img:hover {
    transform: translateY(-4px) scale(1.02) !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25)) !important;
}

.about__content img {
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
    transition: transform 0.3s ease !important;
}

.about__content img:hover {
    transform: scale(1.015) !important;
}

.where2go__app .app__ui img {
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.where2go__app .app__ui img:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 35px 60px -15px rgba(0,0,0,0.4) !important;
}

.where2go__enquire {
    background-position: center bottom !important;
}

.enquire__form {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 15px 35px rgba(25, 46, 26, 0.08) !important;
    border: 1px solid rgba(25, 46, 26, 0.04) !important;
}

.enquire__form label.form-label {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
}

.enquire__form .form-control {
    border-bottom: 1.5px solid rgba(25, 46, 26, 0.15) !important;
    padding-bottom: 8px !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.enquire__form .form-control:focus {
    border-bottom: 1.5px solid #BA8E2B !important;
}

/* ============================================
   Register page — additional components
   ============================================ */

/* Success alert variant */
.auth-alert--success {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Wider form panel for register */
.auth-form-wrap--register {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow-y: auto;
}

.auth-form--wide {
    max-width: 560px;
}

/* 2-column grid for form fields */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

/* Phone code prefix */
.auth-phone-code {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    z-index: 2;
    min-width: 56px;
}

.auth-input--phone {
    padding-left: 68px !important;
    /* border-radius: 0 10px 10px 0 !important; */
}

/* Select input */
.auth-input--select {
    appearance: auto;
    cursor: pointer;
}

/* Terms checkbox */
.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 6px;
}

.auth-check__input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #192E1A;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-check__label {
    font-size: 0.82rem;
    color: #4b5563;
    cursor: pointer;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-check__link {
    color: #192E1A;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-check__link:hover { color: #BA8E2B; }

/* Register responsive */
@media (max-width: 640px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Forgot-password flow — step indicator & icon
   ============================================ */

/* Step progress tracker on brand panel */
.auth-brand__steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.auth-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s ease;
}

.auth-step__label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-step--active .auth-step__num {
    background: #fdcf60;
    border-color: #fdcf60;
    color: #112012;
}

.auth-step--active .auth-step__label {
    color: #fdcf60;
}

.auth-step--done .auth-step__num {
    background: rgba(253, 207, 96, 0.15);
    border-color: rgba(253, 207, 96, 0.4);
    color: #fdcf60;
}

.auth-step--done .auth-step__label {
    color: rgba(255, 255, 255, 0.55);
}

.auth-step__line {
    flex: 1;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 8px;
    margin-bottom: 18px;
    min-width: 24px;
}

.auth-step__line--done {
    background: rgba(253, 207, 96, 0.35);
}

/* Icon badge above form heading */
.auth-form__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(25, 46, 26, 0.07);
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #192E1A;
    margin-bottom: 16px;
}
