
/* =========================================================
   CENTRAL CALL THEME V2
   Solo modifica presentación. No reemplaza la lógica del CRM.
   ========================================================= */

:root{
  --cc-navy:#143D68;
  --cc-navy-dark:#0B2E50;
  --cc-blue:#2389E8;
  --cc-blue-soft:#EAF4FF;
  --cc-yellow:#FFD31A;
  --cc-cyan:#24C7E7;
  --cc-border:#DCE7F2;
  --cc-shadow:0 12px 32px rgba(25,64,101,.10);
}

/* MENÚ LATERAL */
.sidebar{
  background:
    radial-gradient(circle at 50% 8%,rgba(36,199,231,.12),transparent 24%),
    linear-gradient(180deg,var(--cc-navy) 0%,var(--cc-navy-dark) 100%)!important;
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:8px 0 30px rgba(10,37,64,.08);
}

.innova-sidebar-brand{
  margin:0 -4px 14px!important;
  padding:18px 8px 20px!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
}

.innova-sidebar-brand img{
  width:112px!important;
  height:112px!important;
  object-fit:contain!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(83,220,255,.22);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.04),
    0 0 10px rgba(36,199,231,.32),
    0 0 22px rgba(36,199,231,.14),
    0 14px 28px rgba(0,0,0,.28)!important;
}

.innova-sidebar-brand strong{
  color:var(--cc-yellow)!important;
  font-size:18px!important;
  letter-spacing:.5px!important;
  text-shadow:
    0 2px 0 #8B6900,
    0 0 7px rgba(255,211,26,.65),
    0 0 14px rgba(255,211,26,.24)!important;
}

.innova-sidebar-brand span{
  color:#FFFFFF!important;
  font-size:11px!important;
  letter-spacing:2.1px!important;
}

#menu{
  margin-top:18px!important;
}

#menu .menu-item{
  position:relative;
  margin:4px 7px!important;
  padding:13px 14px!important;
  border:1px solid transparent;
  border-radius:12px!important;
  color:#EDF7FF!important;
  transition:all .18s ease!important;
}

#menu .menu-item:hover{
  transform:translateX(3px)!important;
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.08);
}

#menu .menu-item.active{
  background:linear-gradient(135deg,#1680E7,#2796F4)!important;
  border-color:rgba(255,255,255,.22);
  box-shadow:0 10px 22px rgba(0,0,0,.20)!important;
}

.sidebar-footer{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:14px;
}

/* CABECERA PRINCIPAL */
.topbar{
  position:relative;
  padding:4px 0 6px;
}

.topbar:after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-12px;
  height:1px;
  background:linear-gradient(90deg,var(--cc-blue),transparent 68%);
  opacity:.25;
}

.innova-module-brand img{
  width:58px!important;
  height:58px!important;
  object-fit:contain!important;
  border-radius:15px!important;
  border:1px solid var(--cc-border);
  background:#fff;
  box-shadow:0 8px 20px rgba(25,67,105,.16)!important;
}

.topbar h2{
  color:#102B47;
  font-size:27px;
  letter-spacing:-.3px;
}

.topbar p{
  color:#63778B;
  font-size:14px;
}

/* TARJETAS */
.card{
  border:1px solid var(--cc-border)!important;
  border-radius:18px!important;
  box-shadow:var(--cc-shadow)!important;
  transition:transform .16s ease,box-shadow .16s ease;
}

.card:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 36px rgba(25,64,101,.13)!important;
}

.executive-card{
  position:relative;
  overflow:hidden;
  border-top:0!important;
}

.executive-card:before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,var(--cc-blue),var(--cc-cyan));
}

.executive-card.success:before{background:linear-gradient(90deg,#178A55,#42C184)}
.executive-card.warning:before{background:linear-gradient(90deg,#E3A008,#FFD056)}
.executive-card.danger:before{background:linear-gradient(90deg,#C0392B,#EA6C60)}

.metric{
  color:#0C4C86!important;
  letter-spacing:-.5px;
}

/* TABLAS */
.table-wrap{
  border-radius:13px;
}

.table{
  border-collapse:separate!important;
  border-spacing:0!important;
}

.table th{
  background:#F0F5FA!important;
  color:#2A455F!important;
  font-weight:800!important;
  border-top:1px solid #E3EAF2;
}

.table th:first-child{border-top-left-radius:10px}
.table th:last-child{border-top-right-radius:10px}

.table td{
  color:#1F3042;
  transition:background .12s ease;
}

.table tbody tr:hover td{
  background:#F7FBFF;
}

/* BOTONES */
.btn{
  border-radius:11px!important;
  transition:transform .15s ease,box-shadow .15s ease!important;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn.primary{
  background:linear-gradient(135deg,#126FD4,#2793EE)!important;
  box-shadow:0 8px 16px rgba(23,117,211,.20);
}

.btn.yellow{
  background:linear-gradient(135deg,#FFD31A,#F2B900)!important;
}

/* GRÁFICOS Y BARRAS */
.bar-track{
  background:#E6EDF5!important;
}

.bar-fill{
  background:linear-gradient(90deg,#0D70C5,#27A2E8)!important;
}

.bar-fill.alt{
  background:linear-gradient(90deg,#E7A300,#FFD31A)!important;
}

/* LOGIN */
.innova-login-brand img{
  width:205px!important;
  height:205px!important;
  object-fit:contain!important;
  border-radius:30px!important;
  border:1px solid rgba(80,218,255,.20);
  box-shadow:
    0 0 10px rgba(36,199,231,.34),
    0 0 26px rgba(36,199,231,.14),
    0 18px 36px rgba(0,0,0,.28)!important;
}

.innova-login-brand h1{
  color:var(--cc-yellow)!important;
  text-shadow:
    0 3px 0 #8B6900,
    0 0 8px rgba(255,211,26,.72),
    0 0 18px rgba(255,211,26,.28)!important;
}

/* RESPONSIVE */
@media(max-width:820px){
  .sidebar{
    min-height:auto;
  }
  .innova-sidebar-brand img{
    width:90px!important;
    height:90px!important;
  }
  .topbar h2{
    font-size:23px;
  }
}

.wa29-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
