/* Notification Bell and Dropdown Styles */
.notification-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444; /* Match the Red button */
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f1c3f; /* Match background */
    padding: 0 4px;
}

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    transform-origin: top right;
    animation: dropIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.notification-dropdown.active {
    display: block;
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.mark-all-btn {
    font-size: 0.85rem;
    color: #33c1a8; /* Match Turquoise */
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mark-all-btn:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

/* Custom Scrollbar */
.notification-list::-webkit-scrollbar {
    width: 6px;
}
.notification-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.notification-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
    transition: background 0.2s;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background: #f1f5f9;
}

.notification-item.unread {
    background: #f0f9ff;
}

.notification-item.unread:hover {
    background: #e0f2fe;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.notif-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-content {
    flex-grow: 1;
}

.notif-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 4px;
    display: block;
}

.notif-message {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    display: block;
}

.notif-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
    display: block;
}

.remove-notif {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.notification-item:hover .remove-notif {
    opacity: 1;
}

.remove-notif:hover {
    color: #ef4444;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
}

.notification-empty svg {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.notification-empty p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Category Colors */
.notif-icon-blue { background: #dbeafe; color: #3b82f6; }
.notif-icon-green { background: #dcfce7; color: #10b981; }
.notif-icon-orange { background: #ffedd5; color: #f59e0b; }
.notif-icon-red { background: #fee2e2; color: #ef4444; }
.notif-icon-purple { background: #f3e8ff; color: #8b5cf6; }
.notif-icon-teal { background: #ccfbf1; color: #14b8a6; }
