.flashbox {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90vw;
}

.flash-message {
    padding: 14px 40px 14px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    animation: flashSlideIn 0.35s ease;
    min-width: 240px;
}

@keyframes flashSlideIn {
    from { transform: translateX(60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.flashboxsuccess-alert {
    background: #e6f7ec;
    color: #1b7a43;
    border-left: 4px solid #1b7a43;
}

.flashboxerror-alert {
    background: #fdecec;
    color: #c0392b;
    border-left: 4px solid #c0392b;
}

.flashbox-closebtn {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .flashbox {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    .flash-message {
        min-width: unset;
        width: 100%;
    }
}
