/* ==========================================================================
   1. CONTENEDOR TOAST (NOTIFICACIONES FLOTANTES)
   ========================================================================== */

#ktrsd-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 360px;
    width: calc(100% - 48px);
}

.ktrsd-toast {
    pointer-events: auto;
    background-color: #0b0f19; /* Estética SaaS Dark Slate */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Transiciones de Entrada y Salida */
.ktrsd-toast.ktrsd-toast-show {
    transform: translateY(0);
    opacity: 1;
}

.ktrsd-toast.ktrsd-toast-hide {
    transform: translateY(-10px);
    opacity: 0;
}

/* ==========================================================================
   2. ELEMENTOS INTERNOS DEL TOAST
   ========================================================================== */

.ktrsd-toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.ktrsd-toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ktrsd-toast-title {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.ktrsd-toast-message {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ==========================================================================
   3. ADAPTACIÓN RESPONSIVE (MÓVIL CENTRADO)
   ========================================================================== */

@media (max-width: 580px) {
    #ktrsd-toast-container {
        bottom: 16px;
        right: 24px;
        left: 24px;
        width: auto;
        max-width: none;
    }
}