/* Estilos para el sistema de mensajes - Archivo CSS reutilizable */

.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.toast-container {
    position: fixed;
    top: 70px;
    left: 20px;
    z-index: 9999;
}

.toast-notification {
    padding: 0;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
    height: 180px;
    width: 350px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(33, 150, 243, 0.6);
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.toast-header {
    width: 100%;
    padding: 5px 5px;
    background: rgba(33, 150, 243, 0.9);
    font-size: 18px;
    font-weight: bolder;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

.toast-body {
    flex: 1;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.toast-body p {
    margin-top: 10px;
    font-size: 1.5em;
}

.icon-toast {
    margin: 0;
    font-size: 2.5em;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.badge-danger {
    background-color: #d9534f;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    text-align: center;
}

#btnbandeja {
    position: relative;
}

.scroll-menusup {
    max-height: 300px;
    overflow-y: auto;
}
