.notification-bell-wrapper {
    position: relative;
    cursor: pointer;
}

.notification-bell-wrapper:hover .notification-dropdown,
.notification-bell-wrapper .notification-dropdown.show {
    display: block;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.notification-badge.empty {
    display: none;
}

.notification-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0%;
    width: 340px;
    max-height: 400px;
    overflow-y: auto;
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 1000;
    padding: 10px 0;
    color: #e0e0e0;
}

.notification-dropdown-header {
    padding: 8px 16px;
    font-weight: 600;
    border-bottom: 1px solid #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.notification-dropdown-header button {
    font-size: 12px;
    padding: 2px 8px;
}

.notification-item {
    padding: 10px 16px;
    border-bottom: 1px solid #2d2d2d;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #e0e0e0;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: #1a2a3a;
}

.notification-item:hover {
    background: #2a2a2a;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}


.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    color: #ffffff;
}

.notification-message {
    font-size: 12px;
    color: #adb5bd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 11px;
    color: #888888;
    margin-top: 2px;
}

/* Inbox page styles */
.inbox-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.inbox-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #adb5bd);
}

.inbox-empty i {
    font-size: 48px;
    margin-bottom: 16px;
}

.notification-card {
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--card-bg, #fff);
    transition: box-shadow 0.15s;
}

.notification-card.unread {
    border-left: 4px solid var(--primary-color, #0d6efd);
}

.notification-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.notification-card .type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}


/* Always dark - removed light mode defaults */

/* Sidebar notification button styles */
.sidebar-notification-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    position: relative;
}

.sidebar-notification-btn .bell-icon {
    font-size: 16px;
}

.sidebar-notification-btn .bell-text {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-notification-btn .notification-dot {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
}

.sidebar-profile-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
}

.sidebar-profile-btn .profile-username {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-profile-btn .edit-icon {
    color: white;
}

.bell-icon-inline {
    font-size: 20px;
}

.text-muted-small {
    font-size: 13px;
    color: #adb5bd;
}

/* Dark mode for dropdown header button */
.notification-dropdown-header button {
    background: #2d2d2d;
    color: #6ea8fe;
    border: 1px solid #444;
}

.notification-dropdown-header button:hover {
    background: #3a3a3a;
    color: #9ec5fe;
}

/* Divider dark mode */
.dropdown-divider {
    border-top-color: #2d2d2d !important;
}

/* Empty state dark mode */
.text-muted-small,
.text-center.py-3.text-body-secondary {
    color: #888888 !important;
}

.notification-message-text {
    font-size: 13px;
}

/* View All Notifications link - always styled for dark */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6ea8fe;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.view-all-link:hover {
    background: #1a2a3a;
    color: #9ec5fe;
    text-decoration: none;
}

.view-all-link i {
    font-size: 12px;
    transition: transform 0.15s;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Notification label (inbox page) */
.type-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: #1976d2;
    background: #e3f2fd;
}

.type-label i {
    font-size: 13px;
}

/* Notification filter controls */
.notification-filters {
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
}

.notification-filters .card-body {
    background: var(--filter-bg, #f8f9fa);
}

