/* Sidebar Styles */
.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 62px;
    background-color: #F7F6F2;
    border-right: 1px solid #E0DED9;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    transition: width 0.3s ease;
    z-index: 1111;
}
.sidebar:hover {
    width: 200px;
}
.sidebar img {
    width: 30px;
    filter: grayscale(1);
}
#business-logo {
    filter: none;
}
.sidebar a {
    width: 100%;
    display: flex;
    align-items: center;
    color: #111111;
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 3px;
    transition: background-color 150ms ease;
}
.sidebar a img {
    display: block;
    margin-right: 8px;
    margin-left: 15px;
}
.sidebar a span {
    display: none;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #111111;
}
.sidebar:hover a span {
    display: inline;
}
.sidebar a.active {
    background-color: #EFEDE8;
    border: 1px solid #E0DED9;
}
.sidebar a:hover {
    background-color: #EFEDE8;
}
.sidebar .profile-section {
    margin-top: auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    margin-left: 15px;
}
.sidebar .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E0DED9;
    box-shadow: none;

}
.sidebar .profile-dropdown-icon {
    font-size: 14px;
    color: #888888;
    margin-left: 5px;
    display: flex;
    align-items: center;
}
#username {
    display: none;
    margin-left: 10px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #111111;
}
.sidebar:hover #username {
    display: inline;
}
.profile-dropdown {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 60px;
    width: 150px;
    background-color: #F7F6F2;
    border: 1px solid #E0DED9;
    box-shadow: none;
    border-radius: 3px;
    z-index: 1100;
    padding: 8px;
}
.profile-dropdown a {
    display: block;
    color: #111111;
    text-decoration: none;
    padding: 8px 10px;
    border-bottom: 1px solid #E0DED9;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    transition: background 150ms ease;
}
.profile-dropdown a:last-child {
    border-bottom: none;
}
.profile-dropdown a:hover {
    background-color: #EFEDE8;
    color: #111111;
}

/* Notification Badge Styles */
.notification-badge {
    background-color: #111111;
    color: #F7F6F2;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    position: absolute;
    top: 10px;
    right: 10px;
}

.red-pulse {
    position: relative;
    animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
    0%   { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.3); }
    50%  { box-shadow: 0 0 8px rgba(17, 17, 17, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.3); }
}

/* Topbar Styles */
.topbar {
    display: none;
    width: 100%;
    background-color: #F7F6F2;
    border-bottom: 1px solid #E0DED9;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.topbar img {
    width: 40px;
    filter: grayscale(1);
}
.burger-menu-icon {
    font-size: 1.4rem;
    cursor: pointer;
    margin-right: 30px;
    color: #111111;
}
.menu-dropdown {
    display: none;
    position: fixed;
    top: 50px;
    right: 10px;
    width: 200px;
    background-color: #F7F6F2;
    border: 1px solid #E0DED9;
    box-shadow: none;
    border-radius: 3px;
    z-index: 1100;
    padding: 8px;
}
.menu-dropdown a {
    display: block;
    color: #111111;
    text-decoration: none;
    padding: 8px 10px;
    border-bottom: 1px solid #E0DED9;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    transition: background 150ms ease;
}
.menu-dropdown a:hover {
    background-color: #EFEDE8;
    color: #111111;
}

#sidebar-logo {
    margin-bottom: 15px;
    width: 45px;
    filter: grayscale(1);
}

#add-role-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Media Queries */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .topbar {
        display: flex;
    }
}
