﻿/* =========================================
   MAIN AUTH LAYOUT 40% / 60%
========================================= */
body {
    margin: 0 !important;
}
.vs-auth-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    background: #0f0f0f;
}

/* LEFT SIDE (Banner) 40% */
.vs-left {
    flex: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.vs-banner {
    width: 95%;
    border-radius: 16px;
}

/* RIGHT SIDE (Login/Register) 60% */
.vs-right {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    overflow: hidden; /* TOP stays fixed */
}

/* =========================================
   TOP SECTION (Title + Subtitle + Tabs)
   ALWAYS FIXED AND CENTERED
========================================= */

.vs-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    text-align: center;
}

.vs-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 25px;
    font-size: 16px;
}

.vs-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.vs-tab {
    border: none;
    padding: 10px 28px;
    border-radius: 25px;
    background: #222;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
}

    .vs-tab.active {
        background: #fff;
        color: #000;
        font-weight: 600;
    }

/* =========================================
   MAIN BODY SCROLL ONLY FOR FORM
========================================= */

.vs-body {
    flex: 1;
    overflow-y: auto; /* Only bottom content scrolls */
    padding-right: 10px;
    overflow-x: hidden !important;
}

/* =========================================
   REGISTER / LOGIN BOX (Atlas style)
========================================= */

.vs-register-box,
.atlas-box {
    background: #1a1a1a;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 20px rgba(0,0,0,0.55), inset 0 0 10px rgba(255,255,255,0.04);
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 35px 30px !important; /* fixes horizontal scroll */
}

/* =========================================
   FORM ROWS
========================================= */

.form-row {
    display: flex;
    width: 100%;
    gap: 25px;
    margin-bottom: 22px;
    min-width: 0 !important;
}

.form-group {
    flex: 1;
}

/* =========================================
   INPUT GROUP (Atlas style)
========================================= */

.input-group,
.phone-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    background: #0f0f0f;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #2e2e2e;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.55), 0 0 10px rgba(0,0,0,0.35);
    flex-wrap: nowrap !important; /* prevent wrapping */
}

    .input-group input,
    .phone-wrapper input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        font-size: 16px;
        min-width: 0 !important; /* allow shrinking inside flex */
        white-space: nowrap !important; /* prevent placeholder wrapping */
    }

.icon {
    font-size: 18px;
    opacity: 0.75;
    margin-right: 10px;
}

/* VERIFY BUTTON */
.verify-btn {
    background: #0a7cff;
    color: white;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    flex-shrink: 0 !important;
}

    .verify-btn:hover {
        background: #006be0;
    }

/* SUBMIT BUTTON */
.atlas-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2d7ffe, #1b5ed9);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.45);
}

    .atlas-submit:hover {
        background: linear-gradient(135deg, #3a8bff, #256ce2);
    }

/* ERROR TEXT */
.error {
    color: #ff4e4e;
    margin-top: 6px;
    text-align: center;
}
.extra-options {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .extra-options a {
        color: #4aa3ff;
        cursor: pointer;
        font-size: 15px;
        text-decoration: underline;
    }

        .extra-options a:hover {
            color: #7bc1ff;
        }
/* Container: Left + Right alignment */
.otp-forgot-row {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Visible Atlas-style links */
.otp-link,
.forgot-link {
    color: #4da3ff !important;
    font-size: 15px;
    cursor: pointer;
    text-decoration: underline;
    opacity: 1 !important;
}

    .otp-link:hover,
    .forgot-link:hover {
        color: #77c1ff !important;
    }
.extra-actions a {
    color: #4da3ff !important;
    font-size: 15px;
    cursor: pointer;
    text-decoration: underline;
}
.password-step h3 {
    color: #ffffff !important;
    font-size: 22px;
    margin-bottom: 15px;
}

.extra-actions,
.otp-forgot-row {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .extra-actions a,
    .otp-link,
    .forgot-link {
        color: #4da3ff !important;
        cursor: pointer;
        font-size: 15px !important;
        text-decoration: underline !important;
    }

/* ==============================
   TOPBAR LAYOUT
============================== */

.vs-topbar {
    background: #000; /* dark top bar */
    padding: 10px 20px;
    border-bottom: 1px solid #222;
}

.vs-topbar-left {
    display: flex;
    align-items: center;
}

.vs-topbar-logo-img {
    height: 38px;
    width: auto;
}

.vs-topbar-brand {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.vs-topbar-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    pointer-events: none;
}

.vs-user-email {
    color: #e0e0e0;
    font-size: 14px;
}

/* ==============================
   MAIN LAYOUT STRUCTURE
============================== */

.vs-layout-root {
    height: 100vh;
    background: #0d0d0d;
    display: flex;
    flex-direction: column; 
    color: #fff;
}

.vs-shell {
    display: flex;
    flex: 1; /* Fills remaining height under topbar */
    min-height: 0; /* PREVENTS collapsing */
}

.vs-main {
    overflow-y: auto;
}

/* ==============================
   SIDEBAR UPDATE (optional 
   – ensures dark theme consistency)
============================== */

.sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #121212 !important;
    color: white;
}

    .sidebar .nav-link {
        color: #eee !important;
    }

        .sidebar .nav-link.active {
            background: #0a7cff !important;
            color: white !important;
        }

    .sidebar button.nav-link {
        color: #ff4f4f !important;
    }

/* Page title spacing */
.vs-page-title {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Card in dark theme */
.vs-card {
    background-color: #101010;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #fff;
}

/* Dark table styling */
.vs-table {
    margin-bottom: 0;
    background-color: transparent;
}

    .vs-table thead th {
        border-color: #333;
        font-weight: 600;
    }

    .vs-table tbody tr {
        border-color: #2a2a2a;
    }

        .vs-table tbody tr:hover {
            background-color: #1f1f1f;
        }

/* Allow only main content to scroll */
.vs-scroll-area {
    height: calc(100vh - 60px); /* top bar height */
    overflow-y: auto; /* vertical scroll */
    overflow-x: hidden;
}
/* Extra spacing & fix weird layout shifts */
.vs-price-cards {
    padding: 20px 10px 40px;
}

