/* General Styles */




.navbar-container {
    padding: 0 0px; /* Adds 5% white space on both sides */
    margin: 0px;
    padding-left: 30px;
    padding-right: 30px;
    background: #003B40 /* Keep side padding black instead of white */
   
}

.navbar {
    position: relative;
    background: #003B40 ;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.navbar::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background-color: #000000;
}

.navbar-brand {
    color: #00fff7;
    font-weight: bold;
    font-family: 'Comfortaa', sans-serif;
    white-space: nowrap;
}

.navbar-brand:hover {
    color: aqua;
}

.nav-link {
    color: rgb(255, 255, 255) !important;
    margin: 0 5px;
}

.user-dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.consultant-credit-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #00d9b6;
    color: #003b40;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute;
    will-change: transform;
    top: 100%;
    left: 0;
    transform: translate3d(0, 0, 0);
    background-color: #324b4b; /* Match navbar color */
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 10px;
    overflow-y: auto; /* Ensures content is scrollable if it exceeds height */
    z-index: 1052; /* Ensure hover menus also appear on top */
}

.dropdown-footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    cursor: pointer;
}

.dropdown-item {
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
}

.dropdown-item:hover {
    background-color: rgba(0, 255, 247, 0.2);
    color: aqua;
}

/* Dropup Adjustment */
.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    transform: translate3d(0, 0, 0);
}

/* Dropdown on Hover (Optional) */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Button Styles */
.btn-login {
    color: white;
    padding: 5px 10px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.beta-badge {
    background-color: black;
    color: yellow;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.btn-login:hover {
    color: aqua;
    background-color: rgba(0, 0, 0, 0.2);
}



/* Media Queries */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-brand {
        margin-bottom: 10px;
    }

    .nav-link {
        margin: 5px 0;
    }

    .btn-login {
        align-self: flex-end;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-brand { display:none; }

    .nav-link {
        text-align: left;
        margin: 0px 0;
        font-size: small;
    }
    .dropdown-item {
    color: #ffffff;
    padding: 0px;
    border-radius: 4px;
    font-size: small;
    }

    .btn-login {
        width: 100%;
        text-align: left;
        padding: 0px;
        font-size: small;

    }

    .user-dropdown-label {
        gap: 6px;
    }

    .consultant-credit-pill {
        font-size: 0.72rem;
        padding: 2px 6px;
    }
}
