﻿.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);
    }
}

.validation-message {
    color: red !important;
    font-size: 12px;
}

.custom-alert-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.custom-alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInRight 0.5s ease-out;
}

.custom-alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-left: 5px solid #0f5132;
}

.custom-alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border-left: 5px solid #842029;
}

.custom-close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

