﻿/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: gray;
}

/* Navbar container */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo-container img {
    height: 40px;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

    .nav-links li a {
        padding: 10px 20px;
        background-color: white;
        color: #1f1f1f !important;
        text-decoration: none;
        display: inline-block;
        border-radius: 6px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
    }

        .nav-links li a:hover .animated-icon {
            color: grey;
        }

.nav-links li a:hover {
    background-color: #005A9C;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}


/* Active link */
.active-menu-item {
    background-color: #005A9C;
    color: white !important;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 15px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 30px 20px;
    overflow-y: auto;
}

    /* Spacing between items */
    .sidebar li {
        list-style: none;
        margin-bottom: 15px;
    }

    /* Link styles */
    .sidebar a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        font-weight: 500;
        color: #1f1f1f !important;
        text-decoration: none;
        border-radius: 6px;
        background-color: white;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.25s ease;
    }

        .sidebar a:hover {
            background-color: #005A9C;
            color: white !important;
        }

    .sidebar li a:hover .animated-icon {
        color: grey;
    }


    /* Close button style refinement */
    .sidebar li:first-child a {
        background: none;
        box-shadow: none;
        padding: 0;
        margin-bottom: 25px;
    }


/* Menu button visibility */
.menu-button {
    display: none;
}

/* Responsive behavior */
@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}
