/* Flash Notification Styles */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    max-width: 500px;
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success .notification-icon {
    background: #D4EDDA;
}

.notification-error .notification-icon {
    background: #F8D7DA;
}

.notification-warning .notification-icon {
    background: #FFF3CD;
}

.notification-info .notification-icon {
    background: #D1ECF1;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #6b7280;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #1a1a1a;
}

/* Success variant */
.notification-success {
    border-left: 4px solid #28A745;
}

/* Error variant */
.notification-error {
    border-left: 4px solid #DC2626;
}

/* Warning variant */
.notification-warning {
    border-left: 4px solid #F59E0B;
}

/* Info variant */
.notification-info {
    border-left: 4px solid #3B82F6;
}

/* Hidden flash messages container */
.flash-messages {
    display: none;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
        max-width: none;
    }
}