/* Notifications Container and Dropdown */
.notifications-container {
    position: relative;
}

.notification-badge {
    background: #FF4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.6rem;
    font-weight: 700;
    position: absolute;
    top: -2px;
    right: 8px;
    min-width: 16px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); }
}

.notifications-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    width: 380px;
    background: #1a1a1a;
    border: 1px solid rgba(79, 236, 254, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    max-height: 480px;
    overflow: hidden;
}

.notifications-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notifications-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(79, 236, 254, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4FECFE;
}

.mark-all-read {
    background: none;
    border: none;
    color: #888;
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mark-all-read:hover {
    color: #4FECFE;
}

.notifications-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.notification-item {
    display: flex;
    padding: 0.75rem 1.25rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(79, 236, 254, 0.05);
    border-left-color: rgba(79, 236, 254, 0.3);
}

.notification-item.unread {
    background: rgba(79, 236, 254, 0.03);
    border-left-color: #4FECFE;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.mission-icon {
    background: rgba(79, 236, 254, 0.15);
    color: #4FECFE;
}

.payment-icon {
    background: rgba(0, 255, 136, 0.15);
    color: #00FF88;
}

.system-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}

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

.notification-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.notification-message {
    font-size: 0.7rem;
    color: #888;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.6rem;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.notification-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary-notification {
    background: rgba(79, 236, 254, 0.15);
    border: 1px solid rgba(79, 236, 254, 0.3);
    color: #4FECFE;
}

.btn-primary-notification:hover {
    background: rgba(79, 236, 254, 0.25);
    color: #4FECFE;
}

.btn-secondary-notification {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.btn-secondary-notification:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.notifications-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(79, 236, 254, 0.1);
    text-align: center;
}

.view-all-notifications {
    font-size: 0.7rem;
    color: #4FECFE;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all-notifications:hover {
    color: #ffffff;
}