/* --- Desktop Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #1a1d23;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2000;
    box-sizing: border-box;
}

.logo-desktop {
    height: 40px;
    display: block;
}

.logo-mobile {
    display: none;
    height: 40px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    margin-left: 40px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 20px;
}

.btn-nav {
    padding: 8px 18px;
    border: 1px solid #3f4349;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
}

.btn-nav:hover {
    border-color: #40E0D0;
    color: #40E0D0;
}

.btn-nav:active {
    background-color: rgba(64, 224, 208, 0.3);
    border-color: #40E0D0;
    color: #40E0D0;
}

.btn-nav-green {
    padding: 8px 18px;
    border: 1px solid #40E0D0;
    color: #40E0D0;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
}

.btn-nav-green:hover {
    background-color: rgba(64, 224, 208, 0.3);
    box-shadow: 0 0 15px rgba(80, 228, 196, 0.2);
}

.btn-nav[href="https://app.lebanon2.io"] {
    border: 1px solid #50E4C4 !important;
    color: #50E4C4 !important;


}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.nav-links a:hover {
    color: #40E0D0;
    text-decoration: underline;
}

.desktop-auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
    /* 1. Adds explicit space between email and button */
    margin-left: 20px;
    flex-shrink: 0;
    /* 2. Tells the browser NEVER to squish this box */
}

.desktop-auth-section span {
    white-space: nowrap;
}

.btn-signin {
    padding: 8px 20px;
    background: #50E4C4;
    border: 1px solid #1a1d23;
    color: #1a1d23;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.btn-signin:hover {
    background-color: #ffffff;
    color: #1a1d23;
}

/* --- Mobile Navbar Elements --- */
.mobile-auth-wrapper {
    display: none;
}

.menu-toggle {
    display: none;
}

.mobile-only-header {
    display: none;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 600px) {
    .navbar {
        height: 70px;
        background-color: #1a1d23 !important;
        z-index: 210000;
    }

    .nav-brand {
        display: flex;
        align-items: center;
        z-index: 210001;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        height: 40px;
        display: block;
    }

    .desktop-auth-section {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 210001;
        position: relative;
    }

    .bar {
        width: 25px;
        height: 2px;
        background-color: #50E4C4;
        transition: all 0.3s ease;
        position: absolute;
    }

    .bar:nth-child(1) {
        transform: translateY(-8px);
    }

    .bar:nth-child(2) {
        opacity: 1;
    }

    .bar:nth-child(3) {
        transform: translateY(8px);
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        height: 100vh;
        background-color: #242830;
        z-index: 205000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .nav-container.active {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-buttons {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 320px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }

    .btn-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        padding: 16px;
        text-align: center;
        background: #2d323a;
        border: 1px solid #3f4349;
        text-transform: uppercase;
        font-size: 15px;
        letter-spacing: 1px;
        box-sizing: border-box;
    }

    .btn-nav-green {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        padding: 16px;
        text-align: center;
        background: #2d323a;
        border: 1px solid #40E0D0;
        text-transform: uppercase;
        font-size: 15px;
        letter-spacing: 1px;
        box-sizing: border-box;
    }

    .nav-links {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 50px;
    }

    .nav-links a {
        font-size: 18px;
        font-weight: 500;
        color: #ffffff;
    }

    .mobile-auth-wrapper {
        display: block;
        width: 100%;
        max-width: 320px;
        margin-bottom: 5px;
    }

    .btn-signin {
        display: block;
        width: 100%;
        padding: 16px;
        text-align: center;
        font-size: 15px;
        box-sizing: border-box;
    }

    .mobile-only-header {
        display: flex;
        position: absolute;
        top: 75px !important;
        left: 10px;
        z-index: 10000;
        gap: 10px;
    }
}