.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background-color: #15491800;
    color: white;
}

.navbar img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar.scrolled {
    /* background: rgba(240, 240, 240, 0.655); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar:not(.scrolled) .nav-link {
    color: white;
}

.navbar.scrolled .nav-link {
    color: rgb(0, 0, 0);
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-toggler {
    color: #51ff00;
    border-radius: 5px;
    border: none;
}

.navbar-toggler:hover {
    color: #00ff66;
}

.navbar-toggler .navbar-toggler-icon {
    background-color: #000000;
}

.sidebar {
    position: fixed;
    top: 70px;
    right: -300px;
    width: 260px;
    height: calc(100vh - 70px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    transition: right 0.4s ease-in-out;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow-y: auto;
}


.sidebar.open {
    right: 0;
}

.sidebar .auth-buttons .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 15px;
}

.sidebar .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #ffffff00;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .close-btn:hover {
    color: #00ff88;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 60px;
}

.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-decoration: none;
    color: #000000;
    padding: 10px 15px;
    border-radius: 12px;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00ff88;
}

.sidebar .auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.sidebar .auth-buttons .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 8px 15px;
}


@media (max-width: 767px) {
    .sidebar {
        width: 200px;
        right: -100%;
    }

    .sidebar.open {
        right: 0;
    }

    .navbar {
        padding-left: 20px;
    }
}

.navbar-nav .nav-link.active,
.sidebar ul li a.active {
    color: rgb(21, 255, 0);
    font-weight: bold;
}
