/*
 * Styles for the Header Notification Dropdown
 */

.notification-wrapper {
    position: relative;
}

#notification-bell {
    position: relative;
}

/* The pulsing dot indicating a new notification */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: var(--color-accent-orange);
    border-radius: 50%;
    border: 2px solid var(--color-secondary);
    animation: pulse 1.5s infinite;
}

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

/* The dropdown container, hidden by default */
.notification-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    width: 300px;
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    padding: 1rem;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* The active state to show the dropdown */
.notification-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.notification-dropdown p {
    margin: 0;
    color: var(--color-text);
}

.notification-dropdown p.font-bold {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Action buttons inside the dropdown */
.invitation-action {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.invitation-action.accept {
    background-color: var(--color-accent-cyan);
    color: var(--color-primary);
}
.invitation-action.accept:hover {
    background-color: #fff;
}

.invitation-action.decline {
    background-color: var(--color-border);
    color: #9ca3af;
}
.invitation-action.decline:hover {
    background-color: #4b5563;
    color: #fff;
}
