/* Flash Notification Styles */
.flash-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(102, 126, 234, 0.2);
    z-index: 9999;
    max-width: 420px;
    animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
}

.flash-notification.flash-success {
    background: linear-gradient(145deg, rgba(30, 60, 50, 0.95), rgba(20, 50, 40, 0.95));
    border: 1px solid rgba(72, 187, 120, 0.4);
}

.flash-notification.flash-error {
    background: linear-gradient(145deg, rgba(60, 30, 30, 0.95), rgba(50, 20, 20, 0.95));
    border: 1px solid rgba(245, 101, 101, 0.4);
}

.flash-notification .flash-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-success .flash-icon {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.2), rgba(56, 161, 105, 0.2));
    color: #48bb78;
}

.flash-error .flash-icon {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.2), rgba(229, 62, 62, 0.2));
    color: #f56565;
}

.flash-notification .flash-content {
    flex-grow: 1;
}

.flash-notification .flash-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.flash-notification .flash-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.flash-notification .flash-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flash-notification .flash-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.flash-notification.hide {
    animation: slideOutRight 0.4s ease forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 576px) {
    .flash-notification {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

