body {
  background-color: #f8fafc !important;
  color: #101a28 !important;
  font-family: 'Inter', sans-serif !important;
}

.hk-pg-wrapper {
  background-color: #f8fafc !important;
  color: #101a28 !important;
  font-family: 'Inter', sans-serif !important;
}

.card {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease !important;
  border: 2px solid #DDD !important;
  
}
.card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08) !important;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A7ABF; /* azul institucional del logo */
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #101a28;
}

section {
  margin-bottom: 48px;
}

.btn {
  /* padding: 10px 20px; */
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.3s ease;
  border: none;
}
.btn:hover {
  transform: scale(1.03);
}

.btn-primary {
  background: linear-gradient(135deg, #0A7ABF 0%, #3DB5E9 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0882d6, #47c6f3);
  transform: scale(1.03);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #65d984 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-success:hover {
  background: linear-gradient(135deg, #23963e, #70e092);
  transform: scale(1.03);
}

.btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #6bd0e7 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-info:hover {
  background: linear-gradient(135deg, #1490a3, #77daf0);
  transform: scale(1.03);
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffe08a 100%);
  color: #212529;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-warning:hover {
  background: linear-gradient(135deg, #e6ac00, #ffe699);
  transform: scale(1.03);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #f66e7a 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.btn-danger:hover {
  background: linear-gradient(135deg, #c62839, #fb7f8b);
  transform: scale(1.03);
}

/* Modern Cards - Accesos Rapidos */ 
.quick-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 20px;
  height: 100%;
  cursor: pointer;
  border-left: 5px solid #0A7ABF;
  color: #ddd;
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.quick-card .title {
  font-size: 16px;
  font-weight: 700;
  color: #0A7ABF;
  margin-bottom: 10px;
}
.quick-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.quick-card ul li {
  font-size: 14px;
  color: #101a28; /* texto oscuro siempre visible */
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.quick-card ul li i {
  color: #0A7ABF; /* azul institucional para íconos */
  margin-right: 6px;
}

.quick-card ul li a {
  color: #101a28; /* texto link oscuro por defecto */
  text-decoration: none;
  transition: color 0.2s ease;
}

.quick-card ul li a:hover {
  color: #0A7ABF;
}

.quick-card:hover .title,
.quick-card:hover ul li,
.quick-card:hover ul li a,
.quick-card:hover ul li i {
  color: #0A7ABF !important;
}

/* Estructura Cards de Resumen */
.summary-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.summary-card .title {
  font-size: 16px;
  font-weight: 600;
  color: #101a28;
  margin-bottom: 12px;
}

.summary-card .value {
  font-size: 36px;
  font-weight: 800;
  color: #0A7ABF;
  margin-bottom: 8px;
}

.summary-card .subtitle {
  font-size: 13px;
  color: #666;
}

/* Tiendas */
.channel-card {
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.channel-card.manual {
  background: linear-gradient(135deg, #546e7a, #78909c);
}

.channel-card.ml {
  background: linear-gradient(135deg, #ffc107, #f9a825);
}

.channel-card.tn {
  background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.channel-card .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.channel-card .value {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 5px;
}

.channel-card .subtitle {
  font-size: 13px;
  opacity: 0.85;
}

/* Tabs charts */ 
.nav-tabs .nav-link {
  font-weight: 600;
  color: #444;
}
.nav-tabs .nav-link.active {
  color: #0A7ABF;
  border-bottom: 2px solid #0A7ABF;
}
.chart-container {
  max-height: 500px;
  height: 100%;
}
canvas {
  max-height: 500px !important;
}


/* Resumen Financiero */
.card-title {
  font-size: 15px;
  font-weight: 700;
}
ul.list-unstyled li {
  font-size: 14px;
  color: #444;
}
ul.list-unstyled li i {
  width: 20px;
  text-align: center;
}

/* Outlines modern */
.btn-outline-primary {
  background: transparent;
  color: #0A7ABF;
  border: 2px solid;
  border-image: linear-gradient(135deg, #0A7ABF, #3DB5E9) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background: linear-gradient(135deg, #0A7ABF, #3DB5E9);
  color: white;
  transform: scale(1.03);
}

.btn-outline-success {
  background: transparent;
  color: #28a745;
  border: 2px solid;
  border-image: linear-gradient(135deg, #28a745, #65d984) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-success:hover {
  background: linear-gradient(135deg, #28a745, #65d984);
  color: white;
  transform: scale(1.03);
}

.btn-outline-info {
  background: transparent;
  color: #17a2b8;
  border: 2px solid;
  /* border-image: linear-gradient(135deg, #17a2b8, #6bd0e7) 1; */
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-info:hover {
  background: linear-gradient(135deg, #17a2b8, #6bd0e7);
  color: white;
  /* transform: scale(1.03); */
}

.btn-outline-warning {
  background: transparent;
  color: #ffc107;
  border: 2px solid;
  border-image: linear-gradient(135deg, #ffc107, #ffe08a) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-warning:hover {
  background: linear-gradient(135deg, #ffc107, #ffe08a);
  color: #212529;
  transform: scale(1.03);
}

.btn-outline-danger {
  background: transparent;
  color: #dc3545;
  border: 2px solid;
  border-image: linear-gradient(135deg, #dc3545, #f66e7a) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-danger:hover {
  background: linear-gradient(135deg, #dc3545, #f66e7a);
  color: white;
  transform: scale(1.03);
}

.btn-outline-secondary {
  background: transparent;
  color: #6c757d;
  border: 2px solid;
  border-image: linear-gradient(135deg, #6c757d, #adb5bd) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-secondary:hover {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  color: white;
  transform: scale(1.03);
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #0A7ABF, #3DB5E9);
  color: white;
  border: none;
  transform: scale(1.03);
}

.btn-outline-success:hover {
  background: linear-gradient(135deg, #28a745, #65d984);
  color: white;
  border: none;
  transform: scale(1.03);
}

.btn-outline-info:hover {
  /* background: linear-gradient(135deg, #17a2b8, #6bd0e7);
  color: white;
  border: none; */
  /* transform: scale(1.03); */
}

.btn-outline-warning:hover {
  background: linear-gradient(135deg, #ffc107, #ffe08a);
  color: #212529;
  border: none;
  transform: scale(1.03);
}

.btn-outline-danger:hover {
  background: linear-gradient(135deg, #dc3545, #f66e7a);
  color: white;
  border: none;
  transform: scale(1.03);
}

.btn-outline-secondary:hover {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  color: white;
  border: none;
  transform: scale(1.03);
}

/* NUEVO: Estilo para btn-outline-dark */
.btn-outline-dark {
  background: transparent;
  color: #343a40;
  border: 2px solid;
  border-image: linear-gradient(135deg, #343a40, #6c757d) 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  background: linear-gradient(135deg, #343a40, #6c757d);
  color: white;
  border: none;
  transform: scale(1.03);
}

.swal2-footer .container .row button {
  padding: 10px;
}
