.flash-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.flash-modal-content {
    background: #fff;
    width: 400px;
    border-radius: 8px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.flash-modal-header {
    padding: 12px 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-modal-header.success {
    background: #28a745;
}

.flash-modal-header.error {
    background: #dc3545;
}

.flash-modal-body {
    padding: 16px;
}

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}