/* ===========================
   Notification Banner Styles
   Success/Error toast notifications
   =========================== */

.signup-notification {
    position: fixed;
    top: 80px; /* Below the fixed header */
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 40px);
    max-width: 600px;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.signup-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.signup-notification.notification-success .notification-content {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.5);
}

.signup-notification.notification-error .notification-content {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.5);
}

.signup-notification.notification-warning .notification-content {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.5);
}

.signup-notification.notification-info .notification-content {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.5);
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.notification-success .notification-icon {
    background: rgba(34, 197, 94, 0.3);
    color: rgb(34, 197, 94);
}

.notification-error .notification-icon {
    background: rgba(239, 68, 68, 0.3);
    color: rgb(239, 68, 68);
}

.notification-warning .notification-icon {
    background: rgba(251, 191, 36, 0.3);
    color: rgb(251, 191, 36);
}

.notification-info .notification-icon {
    background: rgba(59, 130, 246, 0.3);
    color: rgb(59, 130, 246);
}

.notification-message {
    flex: 1;
    color: var(--fg);
}

.notification-message strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.notification-success .notification-message strong {
    color: rgb(34, 197, 94);
}

.notification-error .notification-message strong {
    color: rgb(239, 68, 68);
}

.notification-warning .notification-message strong {
    color: rgb(251, 191, 36);
}

.notification-info .notification-message strong {
    color: rgb(59, 130, 246);
}

.notification-message p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--muted-fg);
}

.notification-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--muted-fg);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--fg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signup-notification {
        top: 70px;
        width: calc(100% - 20px);
    }

    .notification-content {
        padding: 15px 20px;
    }

    .notification-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .notification-message strong {
        font-size: 1em;
    }

    .notification-message p {
        font-size: 0.9em;
    }
}
