/* /var/www/shams360.com/css/top-bar.css */
/* All styles for the top navigation bar */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 60px; /* Set a fixed height */
}

/* Ensure page content is pushed below the fixed top bar on pages that include this CSS. */
:root { --shams-topbar-height: 60px; }
body { padding-top: var(--shams-topbar-height); box-sizing: border-box; }

.top-bar .logo {
    height: 38px;
    margin-left: 16px; /* Use margin-left for RTL */
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.top-bar .logo:hover {
    transform: scale(1.05);
}

.top-bar .right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .icon,
.top-bar .notification-btn {
    color: white;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.top-bar .notification-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-container {
    position: relative;
}

.notification-list {
    position: absolute;
    top: 45px;
    left: 0; /* Adjusted for RTL */
    background: rgba(24, 25, 26, 0.95);
    padding: 12px;
    border-radius: 8px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: none; /* Toggled by JS */
    z-index: 1002;
}

.notification-list.hidden { display: none; }