/**
 * assets/css/getin_styles.css
 * 
 * Dedicated styling for the GetIn (Customer Auth) Portal.
 * Uses VectPack Emerald Design System.
 */

:root {
    --vp-primary: #10b981;
    --vp-primary-dark: #059669;
    --vp-primary-light: #34d399;
    --vp-bg-body: #f8fafc;
    --vp-text-main: #334155;
    --vp-text-muted: #64748b;
    --vp-border-soft: #e2e8f0;
    --vp-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--vp-bg-body);
    color: var(--vp-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* ── Bubble Background ── */
.bubble-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: float-up var(--duration) linear infinite;
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.bubble:hover {
    opacity: 0.9;
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    opacity: 0.8;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-120vh) scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ───────────────────────────────────────────────────────── */
.site_header {
    background: rgba(255, 255, 255, 0.85); /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vp-border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 65px;
    width: 100%;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand_link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand_logo_circle {
    width: 38px;
    height: 38px;
    background-color: var(--vp-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand_logo_img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.brand_text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--vp-text-main);
}

.main_nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav_link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--vp-text-main);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav_link:hover { color: var(--vp-primary); }

.nav_button {
    background-color: var(--vp-primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
    text-decoration: none;
}

.nav_button:hover { background-color: var(--vp-primary-dark); }

.auth_nav_group {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ── Mobile Navigation ── */
.nav_toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--vp-text-main);
    z-index: 1100;
}

.mobile_menu_backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile_menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile_menu_inner {
    padding-top: 60px; /* Space for the toggle area */
}

.mobile_menu.active { right: 0; }
.mobile_menu_backdrop.active { opacity: 1; visibility: visible; }

.mobile_nav_link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: var(--vp-text-main);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile_nav_link i {
    width: 24px;
    font-size: 1.15rem;
    color: var(--vp-primary);
}

.mobile_nav_link:hover { background: #f1f5f9; color: var(--vp-primary); }

@media (max-width: 850px) {
    .main_nav { display: none; }
    .nav_toggle { display: block; }
}

/* ── Auth Split Card ──────────────────────────────────────────────── */
.auth-split-card {
    display: flex;
    background: white;
    border-radius: var(--vp-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    /* max-width: 850px; */
    max-width: max-content;
    margin: 50px auto;
}
.auth-form-card{
    max-width: 600px;
    margin: 0 auto;
}
.auth-side-message {
    max-width: 500px;
    flex: 1;
    background: linear-gradient(135deg, var(--vp-primary) 0%, var(--vp-primary-dark) 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-side-form {
    flex: 1.2;
    padding: 60px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* ── Forms ────────────────────────────────────────────────────────── */
.vp-form-group {
    margin-bottom: 20px;
}

.vp-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--vp-text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vp-text-muted);
}

.vp-form-control {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--vp-border-soft);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.vp-form-control:focus {
    outline: none;
    border-color: var(--vp-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.auth-forgot-pwd {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--vp-text-muted);
    margin-top: 8px;
    transition: color 0.2s;
}

.auth-forgot-pwd:hover {
    color: var(--vp-primary);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.vp-btn-primary {
    background: var(--vp-primary);
    color: white;
    border: none;
    /* padding: 14px; */
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.vp-btn-primary:hover {
    background: var(--vp-primary-dark);
    transform: translateY(-1px);
}

.vp-btn-block {
    display: block;
    width: 100%;
}

/* ── Utilities ────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.hidden { display: none; }
.auth-link {
    color: var(--vp-primary);
    font-weight: 600;
    text-decoration: none;
}

.vp-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.vp-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hide-on-mobile {
        display: none;
    }
    
    /* .auth-side-form {
        padding: 40px 20px;
    } */
    
    /* .auth-split-card {
        flex-direction: column;
        box-shadow: none;
        background: transparent;
    } */
    
    .vp-card {
        background: white;
        padding: 30px 20px;
        border-radius: var(--vp-radius);
    }
}

/* ── Footer ───────────────────────────────────────────────────────── */
.public-footer {
    text-align: center;
    /* padding: 40px 20px; */
    padding: 10px 5px;
    color: var(--vp-text-muted);
    background-color: #f1f5f9;
    font-size: 0.9rem;
}
@media screen and (max-width: 520px) {
    .container {
        padding: 0 15px;
    }
    
    .auth-split-card {
        margin: 20px auto;
        min-height: auto;
    }
    
    .auth-side-form {
        padding: 40px 25px;
    }
}
