:root {
    --bg-dark: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
    --neon-blue: #00f2fe;
    --neon-purple: #4facfe;
    --text-main: #ffffff;
    --text-muted: #64748b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

/* Form Container Layout */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px);
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 35px;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Tabs Styling */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Inputs styling */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label span {
    color: var(--text-muted);
    text-transform: none;
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.action-btn {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: #000;
    font-weight: 700;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    font-size: 15px;
    transition: 0.3s;
}

.action-btn:hover {
    box-shadow: 0 0 25px rgba(79, 172, 254, 0.5);
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

/* Bottom Nav (Shared Style) */
.floating-bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 22, 36, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    padding: 10px 40px;
    border-radius: 40px;
    display: flex;
    gap: 40px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: 0.3s;
}

.bottom-nav-item span {
    font-size: 11px;
}

.bottom-nav-item:hover {
    color: var(--neon-blue);
}

/* ==========================================================================
   ↩️ BACK TO HOME FLOATING BUTTON STYLING (LOGIN OVERRIDE)
   ========================================================================== */
.back-to-home-btn {
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #94a3b8 !important;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-home-btn:hover {
    color: #00f2fe !important;
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    transform: translateX(-4px);
}

/* 📱 Mobile Responsive Adaptive Scaling */
@media (max-width: 900px) {
    .back-to-home-btn {
        position: absolute !important;
        top: 20px !important;
        left: 20px !important;
        width: auto !important;
        display: inline-flex !important;
        background: rgba(9, 13, 22, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(0, 242, 254, 0.2) !important;
        border-radius: 30px !important;
        padding: 8px 16px !important;
        color: #00f2fe !important;
        font-size: 12px !important;
    }
}