﻿/* Dropdown Container */
/* Center container for the navigation */

/* Update account dropdown styles to work with centering */
.account-dropdown {
    margin: 0 auto;
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

/* Dropdown Toggle Button */
.dropdown-toggle {
    background-color: #f8f9fa;
    color: #212529;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 200px;
}

    .dropdown-toggle i {
        margin-right: 10px;
    }

    .dropdown-toggle::after {
        content: '';
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #212529;
        margin-left: 10px;
    }

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid #dee2e6;
    z-index: 1;
    margin-top: 5px;
    display: none;
    overflow: hidden;
}

    /* Show dropdown menu when toggle is in focus or hovered */
    .account-dropdown:hover .dropdown-menu,
    .dropdown-toggle:focus + .dropdown-menu,
    .dropdown-menu:hover {
        display: block;
    }

/* Dropdown Items */
.dropdown-item {
    color: #212529;
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

    .dropdown-item i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    /* Active Item */
    .dropdown-item.active {
        background-color: #e9ecef;
        font-weight: bold;
    }
