/* ==========================================================
   SpaMaster 360 v35.2 - Notificaciones del sistema a la derecha
   Fuerza posición derecha, duración legible y botón X centrado.
   ========================================================== */

:root{
    --sm360-toast-top:18px;
    --sm360-toast-right:18px;
    --sm360-toast-width:360px;
}

#scNotifyTopRight,
#scNotifyTopLeft,
#scRightToastContainer,
.sc-toast-stack,
.sc-toast-container,
.toast-container,
.toast-stack,
#toastContainer,
#notificationContainer,
.notifications-container,
.sc-notifications,
.app-toast-container{
    position:fixed!important;
    top:var(--sm360-toast-top)!important;
    right:var(--sm360-toast-right)!important;
    left:auto!important;
    bottom:auto!important;
    z-index:2147483647!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:auto!important;
    max-width:min(420px, calc(100vw - 36px))!important;
    pointer-events:none!important;
}

body > .sc-toast,
body > .toast,
body > .notification,
body > .sc-notification,
body > .sc-toast-center,
.sc-toast-top-left,
.sm360-toast-right{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    margin:0!important;
    width:var(--sm360-toast-width)!important;
    max-width:calc(100vw - 36px)!important;
    min-width:280px!important;
    transform:none!important;
    pointer-events:auto!important;
}

.sm360-toast-right,
.sc-toast-top-left,
.sc-toast,
.toast,
.notification{
    background:#ffffff!important;
    color:#172033!important;
    border:1px solid #dbe3ef!important;
    border-left:5px solid #6C4CF1!important;
    border-radius:16px!important;
    box-shadow:0 18px 45px rgba(15,23,42,.18)!important;
    padding:14px 46px 14px 16px!important;
    opacity:1!important;
}

.sm360-toast-right.success,
.sc-toast-top-left.success{border-left-color:#16a34a!important}
.sm360-toast-right.error,
.sc-toast-top-left.error{border-left-color:#dc2626!important}
.sm360-toast-right.warning,
.sc-toast-top-left.warning{border-left-color:#f59e0b!important}
.sm360-toast-right.info,
.sc-toast-top-left.info{border-left-color:#6C4CF1!important}

.sm360-toast-right strong,
.sc-toast-top-left strong{
    display:block!important;
    font-weight:950!important;
    color:#172033!important;
    margin:0 0 4px!important;
    line-height:1.2!important;
}

.sm360-toast-right span,
.sc-toast-top-left span,
.sm360-toast-right .sm360-toast-message{
    display:block!important;
    color:#475569!important;
    font-size:13px!important;
    line-height:1.35!important;
}

.sm360-toast-right button,
.sc-toast-top-left button,
.sc-toast button,
.toast button,
.notification button{
    position:absolute!important;
    top:10px!important;
    right:10px!important;
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#172033!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1!important;
    font-size:17px!important;
    font-weight:900!important;
    cursor:pointer!important;
}

.sc-toast-top-left{
    transition:opacity .22s ease, transform .22s ease!important;
    transform:translateX(120%)!important;
    opacity:0!important;
}
.sc-toast-top-left.show{
    transform:translateX(0)!important;
    opacity:1!important;
}

.sm360-toast-right{
    transform:translateX(120%)!important;
    opacity:0!important;
    transition:opacity .22s ease, transform .22s ease!important;
}
.sm360-toast-right.show{
    transform:translateX(0)!important;
    opacity:1!important;
}

.sc-toast-center{
    display:block!important;
    position:relative!important;
    transform:none!important;
    opacity:1!important;
}
.sc-toast-progress span{
    animation-duration:8s!important;
}
