    /* ===== NEXUS NOTIFICATOR ===== */
  .nx-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9999;
  }

  .nx-overlay.show {
    opacity: 1;
    pointer-events: all;
  }

  .nx-modal {
    background: #fff;
    border-radius: 12px;
    width: 380px;
    max-width: 90%;
    overflow: hidden;
    transform: translateY(8px) scale(0.97);
    transition: transform 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }

  .nx-overlay.show .nx-modal {
    transform: translateY(0) scale(1);
  }

  .nx-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #e8e8e0;
  }

  .nx-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1e2b1a;
    margin: 0;
  }

  .nx-modal-title .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }

  .nx-modal-body {
    padding: 16px 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #3a4035;
  }

  .nx-modal-footer {
    padding: 0 20px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .nx-modal-footer.hide{
	opacity:0;
  }

  .nx-btn {
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.15s;
  }

  .nx-btn:hover {
    opacity: 0.85;
  }

  .nx-btn-primary {
    background: #c8d437;
    color: #1e2b1a;
  }

  .nx-btn-ghost {
    background: transparent;
    color: #3a4035;
    border: 1px solid #ccc;
  }

  .nx-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
  }

  .nx-close:hover {
    background: #f0f0ea;
    color: #1e2b1a;
  }

  /* ===== TIPOS ===== */
  .type-success .nx-modal-header { border-top: 3px solid #2d7a2d; }
  .type-error   .nx-modal-header { border-top: 3px solid #c0392b; }
  .type-warning .nx-modal-header { border-top: 3px solid #c8d437; }
  .type-info    .nx-modal-header { border-top: 3px solid #1a5ca8; }

  .type-success .icon { background: #e6f4e6; color: #2d7a2d; }
  .type-error   .icon { background: #fdecea; color: #c0392b; }
  .type-warning .icon { background: #fff8e1; color: #b8860b; }
  .type-info    .icon { background: #e8f0fe; color: #1a5ca8; }



  /* =========================================
   NEXUS MODULE MODAL
========================================= */

.nxm-overlay {
    position: fixed;
    inset: 0;

    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 10000;

    padding: 15px;
    box-sizing: border-box;
}

.nxm-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* CONTENEDOR */

.nxm-modal {
    background: #ffffff;

    width: 90%;
    height: 85%;

    max-width: 1400px;
    max-height: 100%;

    border-radius: 14px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    transform: translateY(12px) scale(0.985);
    transition: transform 0.25s ease;
}

.nxm-overlay.show .nxm-modal {
    transform: translateY(0) scale(1);
}


/* ENCABEZADO */

.nxm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 22px;

    background: #ffffff;
    border-bottom: 1px solid #e8ebef;

    flex-shrink: 0;
}

.nxm-title {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #1e293b;
    line-height: 1.4;
}


/* BOTÓN CERRAR */

.nxm-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 8px;

    background: transparent;
    color: #64748b;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nxm-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}


/* CUERPO */

.nxm-body {
    flex: 1;
    min-height: 0;

    padding: 10px;

    overflow: auto;
    overscroll-behavior: contain;

    background: #f8fafc;

    color: #334155;

    box-sizing: border-box;
}


/* SCROLL PERSONALIZADO */

.nxm-body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.nxm-body::-webkit-scrollbar-track {
    background: transparent;
}

.nxm-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.nxm-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .nxm-overlay {
        padding: 8px;
    }

    .nxm-modal {
        width: 100%;
        height: 95%;
        border-radius: 10px;
    }

    .nxm-header {
        padding: 13px 16px;
    }

    .nxm-title {
        font-size: 16px;
    }

    .nxm-body {
        padding: 15px;
    }

}

