/* ===============================================
   Notifications Panel Styles
   =============================================== */

.notifications-panel {
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
}

.notifications-header {
    display: none; /* Hide redundant header in window */
}

.notifications-header h3 {
    margin: 0;
    font-size: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.notifications-actions {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0; /* Don't shrink */
}

.notifications-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
}

.notifications-action-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    border-color: transparent;
}

.notifications-action-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.notifications-action-btn svg {
    flex-shrink: 0;
}

.notifications-list-header {
    padding: 4px 12px 0px 12px;
    text-align: right;
}

.notifications-list-header.center-label {
    text-align: center;
}

.notifications-unread-label {
    font-size: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.notifications-unread-label.all-caught-up {
    color: rgb(236, 133, 65);
    font-weight: 700;
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 12px 12px 12px;
    min-height: 0; /* Important for flex scrolling */
}

.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: transparent;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 20, 35, 0.4);
    border: none;
    border-radius: 4px;
    transition: all 0.2s;
    margin-bottom: 6px;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item.notification-unread {
    background: rgba(0, 217, 255, 0.05);
}

.notification-item.notification-read {
    opacity: 0.6;
}

.notification-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 16px;
    height: 16px;
}

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

.notification-message {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.notification-meta {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
}

.notification-success .notification-icon {
    color: rgb(80, 200, 120);
}

.notification-error .notification-icon {
    color: rgb(255, 80, 80);
}

.notification-warning .notification-icon {
    color: rgb(255, 200, 80);
}

.notification-info .notification-icon {
    color: var(--accent-primary);
}

.notifications-empty {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

