/* =========================================================================
   ZIPEE CUSTOMER STOREFRONT - AUTHENTICATION & REGISTRATION STYLES
   Exact Match to High-Fidelity UI Design (Light Purple Gradient & Floating White Card)
   ========================================================================= */

:root {
    --zipee-purple-primary: #6338e8;
    --zipee-purple-hover: #5227d6;
    --zipee-purple-dark: #431fa8;
    --zipee-purple-light: #f3effe;
    --zipee-purple-soft: #ede7fd;
    --zipee-navy-text: #171134;
    --zipee-slate-text: #667085;
    --zipee-border-color: #e4e7ec;
    --zipee-card-bg: #ffffff;
    --zipee-page-bg: #f5f2fd;
}

/* Page Container */
.zipee-auth-page-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f6fe 0%, #f0ebfc 50%, #f7f3fe 100%);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    color: var(--zipee-navy-text);
    overflow-x: hidden;
    position: relative;
}

/* Background Organic Blobs */
.zipee-auth-page-container::before {
    content: '';
    position: fixed;
    top: -120px;
    left: -100px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(205, 185, 255, 0.45) 0%, rgba(237, 231, 253, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.zipee-auth-page-container::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(220, 202, 255, 0.4) 0%, rgba(243, 239, 254, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ── 1. TOP NAVIGATION BAR ── */
.zipee-auth-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 54px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 231, 236, 0.6);
    position: sticky;
    top: 0;
    z-index: 50;
}

.zipee-auth-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--zipee-navy-text);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.zipee-logo-icon-svg {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(99, 56, 232, 0.25);
}

.zipee-auth-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.zipee-auth-nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475467;
    transition: color 0.2s ease;
    cursor: pointer;
}

.zipee-auth-nav-link:hover {
    color: var(--zipee-purple-primary);
}

.zipee-auth-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zipee-nav-icon-btn {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    color: #344054;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zipee-nav-icon-btn:hover {
    background: rgba(99, 56, 232, 0.08);
    color: var(--zipee-purple-primary);
}

.zipee-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border: 2px solid #ffffff;
}

/* ── 2. MAIN LAYOUT (SPLIT SCREEN) ── */
.zipee-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
    position: relative;
    z-index: 1;
}

.zipee-auth-split-layout {
    width: 100%;
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ── 3. LEFT SHOWCASE COLUMN ── */
.zipee-auth-showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.zipee-showcase-heading {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #171134;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.zipee-purple-highlight {
    color: var(--zipee-purple-primary);
    display: block;
}

.zipee-showcase-sub {
    font-size: 1.05rem;
    color: #475467;
    margin: 0 0 16px;
    line-height: 1.5;
    font-weight: 500;
}

.zipee-squiggly-svg {
    margin-bottom: 24px;
}

/* Image Space / Container */
.zipee-img-space-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-height: 380px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zipee-organic-blob-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, #e6dcfe 0%, #ede6fd 60%, rgba(237, 230, 253, 0) 100%);
    border-radius: 54% 46% 62% 38% / 45% 58% 42% 55%;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.zipee-img-slot {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zipee-showcase-img {
    max-width: 100%;
    max-height: 410px;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(99, 56, 232, 0.15));
    transition: transform 0.3s ease;
}

.zipee-showcase-img:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Image Space Fallback/Placeholder Card */
.zipee-img-placeholder-card {
    width: 100%;
    height: 340px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed #b8a5f8;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.zipee-img-placeholder-card:hover {
    border-color: var(--zipee-purple-primary);
    background: rgba(255, 255, 255, 0.9);
}

.zipee-placeholder-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zipee-purple-soft);
    color: var(--zipee-purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.zipee-placeholder-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--zipee-navy-text);
    margin-bottom: 4px;
}

.zipee-placeholder-desc {
    font-size: 0.85rem;
    color: #667085;
    max-width: 260px;
    line-height: 1.4;
}

/* 3D Items Preview Illustration */
.zipee-3d-items-cluster {
    display: flex;
    gap: 16px;
    font-size: 2.8rem;
    margin-bottom: 14px;
    filter: drop-shadow(0 8px 16px rgba(99, 56, 232, 0.2));
}

/* Bottom Trust Pill (Login Screen) */
.zipee-trust-pill-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px -5px rgba(99, 56, 232, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.zipee-trust-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.zipee-trust-pill-item:not(:last-child) {
    border-right: 1px solid #f0edf9;
}

.zipee-trust-pill-icon {
    font-size: 1.15rem;
    color: var(--zipee-purple-primary);
}

.zipee-trust-pill-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #344054;
    white-space: nowrap;
}

/* Bottom Feature Icons (Register Screen) */
.zipee-features-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 16px;
    margin-top: 6px;
}

.zipee-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.zipee-feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--zipee-purple-soft);
    color: var(--zipee-purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.zipee-feature-item:hover .zipee-feature-icon-wrap {
    transform: translateY(-2px);
}

.zipee-feature-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475467;
}

/* ── 4. RIGHT AUTH FORM CARD ── */
.zipee-auth-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 45px -10px rgba(99, 56, 232, 0.1), 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(228, 231, 236, 0.8);
    padding: 38px 36px;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zipee-card-header {
    margin-bottom: 24px;
}

.zipee-card-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #171134;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zipee-card-sub {
    font-size: 0.92rem;
    color: #667085;
    margin: 0;
    font-weight: 500;
}

/* Alert Notification */
.zipee-auth-alert {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.zipee-auth-alert.error {
    background: #fef3f2;
    border: 1px solid #fee4e2;
    color: #b42318;
}

.zipee-auth-alert.success {
    background: #ecfdf3;
    border: 1px solid #d1fadf;
    color: #027a48;
}

/* Form Groups & Inputs */
.zipee-form-field {
    margin-bottom: 16px;
}

.zipee-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #d0d5dd;
    border-radius: 14px;
    padding: 0 16px;
    height: 50px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zipee-input-box:focus-within {
    border-color: var(--zipee-purple-primary);
    box-shadow: 0 0 0 4px rgba(99, 56, 232, 0.12);
}

.zipee-input-icon {
    font-size: 1rem;
    color: #98a2b3;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zipee-country-code {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #344054;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1.5px solid #e4e7ec;
    white-space: nowrap;
}

.zipee-country-code i {
    font-size: 0.7rem;
    color: #667085;
}

.zipee-input-text {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.92rem;
    color: #1d2939;
    font-weight: 500;
    background: transparent;
    width: 100%;
}

.zipee-input-text::placeholder {
    color: #98a2b3;
    font-weight: 400;
}

.zipee-eye-toggle {
    background: transparent;
    border: none;
    color: #98a2b3;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.zipee-eye-toggle:hover {
    color: var(--zipee-purple-primary);
}

/* Row (Remember Me / Forgot Password) */
.zipee-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 20px;
}

.zipee-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #475467;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.zipee-checkbox-input {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    accent-color: var(--zipee-purple-primary);
    cursor: pointer;
}

.zipee-forgot-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--zipee-purple-primary);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
}

.zipee-forgot-link:hover {
    color: var(--zipee-purple-hover);
    text-decoration: underline;
}

/* Primary Submit Button */
.zipee-submit-btn {
    width: 100%;
    height: 50px;
    background: var(--zipee-purple-primary);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(99, 56, 232, 0.28);
    transition: all 0.2s ease;
}

.zipee-submit-btn:hover {
    background: var(--zipee-purple-hover);
    box-shadow: 0 6px 18px rgba(99, 56, 232, 0.35);
    transform: translateY(-1px);
}

.zipee-submit-btn:active {
    transform: translateY(0);
}

.zipee-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Divider ('or') */
.zipee-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #98a2b3;
}

.zipee-divider::before,
.zipee-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eaecf0;
}

.zipee-divider span {
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #667085;
}

/* Social Buttons */
.zipee-social-btns-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zipee-social-btn {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid #d0d5dd;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #344054;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.zipee-social-btn:hover {
    background: #f9fafb;
    border-color: #98a2b3;
}

.zipee-social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Footer Switcher */
.zipee-card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: #475467;
    font-weight: 500;
}

.zipee-switch-link {
    background: none;
    border: none;
    color: var(--zipee-purple-primary);
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 4px;
    font-family: inherit;
    font-size: inherit;
}

.zipee-switch-link:hover {
    text-decoration: underline;
    color: var(--zipee-purple-hover);
}

/* Password Strength Indicator */
.zipee-pw-strength-box {
    background: #faf9fe;
    border: 1px solid #ede7fd;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.zipee-pw-meter-bar {
    height: 5px;
    background: #e4e7ec;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.zipee-pw-meter-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.zipee-pw-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 0.75rem;
    color: #667085;
}

.zipee-pw-check-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zipee-pw-check-item.valid {
    color: #027a48;
    font-weight: 600;
}

.zipee-pw-check-item.valid i {
    color: #12b76a;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .zipee-auth-split-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .zipee-auth-nav {
        padding: 14px 20px;
    }

    .zipee-auth-nav-links {
        display: none;
    }

    .zipee-auth-card {
        padding: 28px 20px;
    }

    .zipee-showcase-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .zipee-showcase-sub {
        text-align: center;
    }

    .zipee-squiggly-svg {
        display: block;
        margin: 0 auto 20px;
    }

    .zipee-trust-pill-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .zipee-trust-pill-item {
        border-right: none !important;
        justify-content: flex-start;
    }
}
