/* Estilos propios de la ventana MENÚ DE MÓDULOS, copiados TAL CUAL del original de SITRANS
   (en el original van en un <style> dentro de #box-content). No editar a mano. */

  /* === Superficie/fondo de los módulos === */
  #box-content{ background: transparent; }
  .modules-surface{
    background-color:#e9ecef;  /* mismo fondo que tu ejemplo */
  }

  /* === Cards estilo módulo === */
  .module a{ color:inherit; text-decoration:none; }
  .module .card{
    border-radius: 1rem;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor:pointer;
  }
  .module .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.12);
  }
  .module .icon-circle{
    width:70px; height:70px; font-size:2.5rem; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
  }
  .module .card:hover .icon-circle{ transform: rotate(10deg) scale(1.06); }
  .module .card-footer{ font-size:1rem; padding:.75rem 1rem; }

  /* === Paleta de colores (Bootstrap + personalizados) === */
  :root{
    /* Bootstrap palette (por si quieres usar 'primary', etc.) */
    --rgb-primary:   13,110,253;
    --rgb-secondary:108,117,125;
    --rgb-success:   25,135,84;
    --rgb-danger:   220,53,69;
    --rgb-warning:  255,193,7;
    --rgb-info:      13,202,240;
    --rgb-dark:      33,37,41;
    --rgb-light:    248,249,250;

    /* Tus colores personalizados */
    --rgb-blue:     59,130,246;   /* #3b82f6 */
    --rgb-red:     239,68,68;     /* #ef4444 */
    --rgb-green:    34,197,94;    /* #22c55e */
    --rgb-yellow:  234,179,8;     /* #eab308 */
    --rgb-purple:  168,85,247;    /* #a855f7 */
    --rgb-pink:    236,72,153;    /* #ec4899 */
    --rgb-indigo:   99,102,241;   /* #6366f1 */
    --rgb-gray:    107,114,128;   /* #6b7280 */
    --rgb-orange:  249,115,22;    /* #f97316 */
    --rgb-cyan:      6,182,212;   /* #06b6d4 */
    --rgb-teal:     20,184,166;   /* #14b8a6 */
    --rgb-black:     0,0,0;
    --rgb-white:   255,255,255;
    --rgb-dian:    249,115,22;    /* alias a orange por compatibilidad */
  }

  /* Helpers para fondos “soft” (círculo del ícono) + texto */
  .bg-primary-soft   { background-color: rgba(var(--rgb-primary), .18) !important; }
  .bg-secondary-soft { background-color: rgba(var(--rgb-secondary), .18) !important; }
  .bg-success-soft   { background-color: rgba(var(--rgb-success), .18) !important; }
  .bg-danger-soft    { background-color: rgba(var(--rgb-danger), .18) !important; }
  .bg-warning-soft   { background-color: rgba(var(--rgb-warning), .22) !important; }
  .bg-info-soft      { background-color: rgba(var(--rgb-info), .18) !important; }
  .bg-dark-soft      { background-color: rgba(var(--rgb-dark), .18) !important; }
  .bg-light-soft     { background-color: rgba(var(--rgb-light), .6) !important; }

  .bg-blue-soft      { background-color: rgba(var(--rgb-blue), .18) !important; }
  .bg-red-soft       { background-color: rgba(var(--rgb-red), .18) !important; }
  .bg-green-soft     { background-color: rgba(var(--rgb-green), .18) !important; }
  .bg-yellow-soft    { background-color: rgba(var(--rgb-yellow), .22) !important; }
  .bg-purple-soft    { background-color: rgba(var(--rgb-purple), .18) !important; }
  .bg-pink-soft      { background-color: rgba(var(--rgb-pink), .18) !important; }
  .bg-indigo-soft    { background-color: rgba(var(--rgb-indigo), .18) !important; }
  .bg-gray-soft      { background-color: rgba(var(--rgb-gray), .18) !important; }
  .bg-orange-soft    { background-color: rgba(var(--rgb-orange), .18) !important; }
  .bg-cyan-soft      { background-color: rgba(var(--rgb-cyan), .18) !important; }
  .bg-teal-soft      { background-color: rgba(var(--rgb-teal), .18) !important; }
  .bg-black-soft     { background-color: rgba(var(--rgb-black), .18) !important; }
  .bg-white-soft     { background-color: rgba(var(--rgb-white), .8) !important; }
  .bg-dian-soft      { background-color: rgba(var(--rgb-dian), .18) !important; }

  .text-primary   { color: rgb(var(--rgb-primary)) !important; }
  .text-secondary { color: rgb(var(--rgb-secondary)) !important; }
  .text-success   { color: rgb(var(--rgb-success)) !important; }
  .text-danger    { color: rgb(var(--rgb-danger)) !important; }
  .text-warning   { color: rgb(var(--rgb-warning)) !important; }
  .text-info      { color: rgb(var(--rgb-info)) !important; }
  .text-dark      { color: rgb(var(--rgb-dark)) !important; }
  .text-light     { color: rgb(var(--rgb-light)) !important; }

  .bg-primary     { background-color: rgb(var(--rgb-primary)) !important; }
  .bg-secondary   { background-color: rgb(var(--rgb-secondary)) !important; }
  .bg-success     { background-color: rgb(var(--rgb-success)) !important; }
  .bg-danger      { background-color: rgb(var(--rgb-danger)) !important; }
  .bg-warning     { background-color: rgb(var(--rgb-warning)) !important; }
  .bg-info        { background-color: rgb(var(--rgb-info)) !important; }
  .bg-dark        { background-color: rgb(var(--rgb-dark)) !important; }

  /* Clases personalizadas equivalentes (por compatibilidad con tu data) */
  .bg-blue    { background-color: rgb(var(--rgb-blue)) !important; }
  .bg-red     { background-color: rgb(var(--rgb-red)) !important; }
  .bg-green   { background-color: rgb(var(--rgb-green)) !important; }
  .bg-yellow  { background-color: rgb(var(--rgb-yellow)) !important; }
  .bg-purple  { background-color: rgb(var(--rgb-purple)) !important; }
  .bg-pink    { background-color: rgb(var(--rgb-pink)) !important; }
  .bg-indigo  { background-color: rgb(var(--rgb-indigo)) !important; }
  .bg-gray    { background-color: rgb(var(--rgb-gray)) !important; }
  .bg-orange  { background-color: rgb(var(--rgb-orange)) !important; }
  .bg-cyan    { background-color: rgb(var(--rgb-cyan)) !important; }
  .bg-teal    { background-color: rgb(var(--rgb-teal)) !important; }
  .bg-black   { background-color: rgb(var(--rgb-black)) !important; }
  .bg-white   { background-color: rgb(var(--rgb-white)) !important; }
  .bg-dian    { background-color: rgb(var(--rgb-dian)) !important; }

  .text-blue    { color: rgb(var(--rgb-blue)) !important; }
  .text-red     { color: rgb(var(--rgb-red)) !important; }
  .text-green   { color: rgb(var(--rgb-green)) !important; }
  .text-yellow  { color: rgb(var(--rgb-yellow)) !important; }
  .text-purple  { color: rgb(var(--rgb-purple)) !important; }
  .text-pink    { color: rgb(var(--rgb-pink)) !important; }
  .text-indigo  { color: rgb(var(--rgb-indigo)) !important; }
  .text-gray    { color: rgb(var(--rgb-gray)) !important; }
  .text-orange  { color: rgb(var(--rgb-orange)) !important; }
  .text-cyan    { color: rgb(var(--rgb-cyan)) !important; }
  .text-teal    { color: rgb(var(--rgb-teal)) !important; }
  .text-black   { color: rgb(var(--rgb-black)) !important; }
  .text-dian    { color: rgb(var(--rgb-dian)) !important; }

  /* Gradiente opcional para purple (lo tenías en el ejemplo) */
  .bg-purple-gradient{
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
  }
