/* ============================================================
   Estilos globales compartidos (login + panel)
   ============================================================ */

/* Toasts nativos del sistema */
.toast-native-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 360px;
}
.toast-native {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .7rem .9rem;
    border-radius: .4rem;
    color: #fff;
    background: #6c757d;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .25);
    font-size: .9rem;
    line-height: 1.35;
    animation: toast-native-in .2s ease-out;
}
.toast-native.success { background: #198754; }
.toast-native.error { background: #dc3545; }
.toast-native.info { background: #0d6efd; }
.toast-native.warning { background: #ffc107; color: #212529; }
.toast-native .toast-close {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .75;
    cursor: pointer;
    line-height: 1;
}
.toast-native .toast-close:hover { opacity: 1; }
.toast-native.leaving { animation: toast-native-out .2s ease-in forwards; }
@keyframes toast-native-in {
    from { opacity: 0; transform: translateY(-.5rem); }
    to { opacity: 1; transform: none; }
}
@keyframes toast-native-out {
    to { opacity: 0; transform: translateX(1rem); }
}
