﻿/* ===== TOASTR.js - Visual Customizado ===== */

#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
}

    #toast-container > .toast {
        margin-bottom: 1rem;
    }

.toast {
    margin-top: 80px !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    padding: 20px 20px 20px 45px !important;
    border-radius: 8px !important;
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

    .toast:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    }

/* Tipos toastr */
.toast-info {
    background-color: #84BEEA !important;
    width: 350px !important;
}

.toast-success {
    background-color: #8DC18A !important;
    width: 350px !important;
}

.toast-error {
    background-color: #EA6D70 !important;
    width: 400px !important;
}

.toast-warning {
    background-color: #E8CE6A !important;
    width: 400px !important;
}

/* Texto toastr */
.toast .toast-message {
    color: #181818;
}

/* Botão fechar toastr */
.toast .toast-close-button {
    font-size: 1.5rem;
    color: #363636;
    right: 10px;
    top: 10px;
    opacity: 0.8;
}

    .toast .toast-close-button:hover {
        opacity: 1;
    }


/* ===== BOOTSTRAP TOAST - Visual Harmonizado ===== */
.bootstrap-toast {
    margin-top: 80px !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    cursor: pointer;
    padding: 20px 20px 20px 45px !important;
    border-radius: 8px !important;
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    font-weight: 400;
    width: 350px;
    animation: fadeIn 0.3s ease;
}

    .bootstrap-toast .toast-body {
        color: #181818;
    }

    /* Tipos bootstrap-toast */
    .bootstrap-toast.toast-success {
        background-color: #8DC18A !important;
    }

    .bootstrap-toast.toast-error {
        background-color: #EA6D70 !important;
    }

    .bootstrap-toast.toast-info {
        background-color: #84BEEA !important;
    }

    .bootstrap-toast.toast-warning {
        background-color: #E8CE6A !important;
    }

    /* Botão fechar bootstrap-toast */
    .bootstrap-toast .btn-close {
        filter: none;
        opacity: 0.8;
        font-size: 1.5rem;
        margin-left: auto;
        margin-right: 0;
    }

        .bootstrap-toast .btn-close:hover {
            opacity: 1;
        }

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
