/* /business/_components/AdminDropdown/AdminDropdown.css */
.admin-dropdown {
    position: absolute;
    top: 55px; /* Below the 40px avatar + padding */
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 200px;
    z-index: 100;
    overflow: hidden;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}
[dir="ltr"] .admin-dropdown { right: 0; }
[dir="rtl"] .admin-dropdown { left: 0; }


.admin-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.dropdown-header .name {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}
.dropdown-header .email {
    font-size: 13px;
    color: #7f8c8d;
    margin: 5px 0 0;
}

.dropdown-links {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.dropdown-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: background-color 0.2s ease;
}
.dropdown-links li a:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}
.dropdown-links li a i {
    width: 15px;
    color: #95a5a6;
}
.dropdown-links .divider {
    border-top: 1px solid var(--border-color);
    margin: 10px 0;
}
.dropdown-links .logout-link a:hover {
    background-color: #fef2f2; /* light red */
    color: #e74c3c;
}
.dropdown-links .logout-link i {
    color: #e74c3c;
}