﻿.toast-box {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    z-index: 9999;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    color: white;
    animation: fadein 0.3s ease-out!important;
}

.toast-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.toast-body {
    padding: 12px;
}

.toast-box.success {
    background-color: #28a745;
}

.toast-box.danger {
    background-color: #dc3545;
}

.toast-header button {
    background: transparent;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
