/* Estilos para notificaciones flotantes (bootstrap-notify / $.notify) */
[data-notify="container"] {
    border: 0;
    position: relative;
    padding: .95rem 1.25rem .95rem 4rem;
    border-radius: .75rem;
    color: #e2e8f0;
    background: #171f33;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999 !important;
}

[data-notify="container"] [data-notify="icon"] {
    display: block;
}

[data-notify="container"] [data-notify="icon"]::before {
    line-height: 36px;
    font-size: 18px;
    display: block;
    left: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: .5rem;
    text-align: center;
    color: #ffffff;
}

[data-notify="container"] [data-notify="title"] {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

[data-notify="container"] [data-notify="message"] {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

[data-notify="container"] .close {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    top: 10px !important;
    right: 10px !important;
    border-radius: 50%;
    border: 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all .2s ease;
}

[data-notify="container"] .close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    opacity: 1;
}

[data-notify="container"] [data-notify="progressbar"] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 .75rem .75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

[data-notify="container"].alert-primary {
    border-left: 4px solid #60a5fa !important;
}
[data-notify="container"].alert-primary [data-notify="icon"]::before {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

[data-notify="container"].alert-secondary {
    border-left: 4px solid #94a3b8 !important;
}
[data-notify="container"].alert-secondary [data-notify="icon"]::before {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

[data-notify="container"].alert-info {
    border-left: 4px solid #38bdf8 !important;
}
[data-notify="container"].alert-info [data-notify="icon"]::before {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

[data-notify="container"].alert-success {
    border-left: 4px solid #4ade80 !important;
}
[data-notify="container"].alert-success [data-notify="icon"]::before {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

[data-notify="container"].alert-warning {
    border-left: 4px solid #facc15 !important;
}
[data-notify="container"].alert-warning [data-notify="icon"]::before {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

[data-notify="container"].alert-danger {
    border-left: 4px solid #f87171 !important;
}
[data-notify="container"].alert-danger [data-notify="icon"]::before {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

/* Modo claro para notificaciones */
[data-bs-theme="light"] [data-notify="container"] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}
[data-bs-theme="light"] [data-notify="container"] [data-notify="title"] {
    color: #0f172a;
}
[data-bs-theme="light"] [data-notify="container"] [data-notify="message"] {
    color: #64748b;
}
[data-bs-theme="light"] [data-notify="container"] .close {
    background: rgba(0, 0, 0, 0.06);
    color: #475569;
}
