@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
.tipo-categoria {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  color: #334155; }

.tipo-producto {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  color: #6366F1; }

.tipo-precio {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  color: #10B981; }

.tipo-descripcion {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: #64748B; }

.btn-primario {
  background-color: #6366F1;
  color: #FFFFFF;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  border: none; }
  .btn-primario:hover {
    background-color: #3e41ee;
    color: #FFFFFF; }

.bg-secundario {
  background-color: #EEF2FF; }

.badge-acento {
  background-color: #FDE047;
  color: #334155;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600; }

.alert-error,
.mensaje-error {
  background-color: #FEF2F2;
  color: #DC2626;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  border: 1px solid rgba(220, 38, 38, 0.3); }

.alert-exito,
.mensaje-exito {
  background-color: #ECFDF5;
  color: #059669;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  border: 1px solid rgba(5, 150, 105, 0.3); }

.login-logo {
  text-align: center; }

.login-logo .logo-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease; }

.login-logo .logo-img:hover {
  transform: scale(1.02); }

.login-form {
  border: 1px solid #dee2e6;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.login-form h4 {
  font-weight: 700;
  color: #334155;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.login-form .btn-primario,
.login-form .btn[type="submit"] {
  background: #6366F1 !important;
  border: none !important;
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background 0.2s; }
  .login-form .btn-primario:hover,
  .login-form .btn[type="submit"]:hover {
    background: #3e41ee !important; }

#login-error {
  font-size: 0.97em;
  border-left: 5px solid #DC2626;
  background: #FEF2F2;
  color: #DC2626;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
  #login-error.alert-exito {
    border-left-color: #059669;
    background: #ECFDF5;
    color: #059669; }

@media (max-width: 400px) {
  .login-form {
    min-width: 100% !important;
    padding: 1.2rem !important; }

  .login-logo .logo-img {
    max-width: 150px; } }
@media (max-width: 576px) {
  .login-logo .logo-img {
    max-width: 180px; } }
.dashboard-container {
  display: flex;
  min-height: 100vh; }

.sidebar {
  width: 280px;
  background: #FFFFFF;
  border-right: 1px solid #dee2e6;
  position: fixed;
  height: 100vh;
  z-index: 1000;
  overflow-y: auto;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.sidebar .sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  text-align: center; }

.sidebar .sidebar-header .sidebar-logo,
.sidebar .sidebar-header .sidebar-logo-text {
  max-width: 100px;
  height: auto; }

.sidebar .sidebar-menu {
  padding: 1rem 0; }

.sidebar .sidebar-menu .nav-link {
  color: #64748B;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.sidebar .sidebar-menu .nav-link i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center; }

.sidebar .sidebar-menu .nav-link:hover {
  color: #6366F1;
  background-color: rgba(99, 102, 241, 0.08);
  border-left-color: #6366F1; }

.sidebar .sidebar-menu .nav-link.active {
  color: #6366F1;
  background-color: rgba(99, 102, 241, 0.12);
  border-left-color: #6366F1;
  font-weight: 600; }

.main-content {
  flex: 1;
  margin-left: 300px;
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 0; }

.topbar {
  background: #FFFFFF;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem; }

.topbar .topbar-left h4 {
  color: #334155;
  font-weight: 600;
  margin: 0; }

.topbar .topbar-left .sidebar-toggle {
  color: #64748B;
  padding: 0.5rem; }

.topbar .topbar-left .sidebar-toggle:hover {
  color: #6366F1; }

.topbar .topbar-right .dropdown-toggle {
  color: #64748B;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem; }

.topbar .topbar-right .dropdown-toggle:hover {
  color: #6366F1; }

.content {
  flex: 1;
  min-width: 0;
  padding: 2rem 2rem 2rem 2.5rem;
  background-color: #f8f9fa;
  margin-left: 0; }

.welcome-card {
  background: linear-gradient(135deg, #6366F1 0%, #1419e4 100%);
  color: #FFFFFF;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.welcome-card h2 {
  font-weight: 700;
  margin-bottom: 0.5rem; }

.welcome-card p {
  margin: 0;
  opacity: 0.9; }

.dashboard-pago-cintillo-shell {
  width: 40%;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0; }

@media (max-width: 767.98px) {
  .dashboard-pago-cintillo-shell {
    width: 100%;
    margin-left: 0; } }

.dashboard-pago-cintillo {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-radius: 0.5rem;
  padding: 1.1rem 1.35rem;
  margin-bottom: 0;
  border: 1px solid transparent;
  box-shadow: 0 0.25rem 0.75rem rgba(99, 102, 241, 0.08); }

.dashboard-pago-cintillo__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.85; }

.dashboard-pago-cintillo__text {
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.45; }

.dashboard-pago-cintillo__text strong {
  font-weight: 700; }

.dashboard-pago-cintillo--pendiente {
  background: linear-gradient(120deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%);
  border-color: rgba(245, 158, 11, 0.45);
  color: #78350f; }

.dashboard-pago-cintillo--parcial {
  background: linear-gradient(120deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
  border-color: rgba(234, 88, 12, 0.35);
  color: #7c2d12; }

.dashboard-pago-cintillo--ok {
  background: linear-gradient(120deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.35);
  color: #065f46; }

.dashboard-pago-cintillo--info {
  background: linear-gradient(120deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #e2e8f0;
  color: #334155; }

.stat-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.stat-card:hover {
  transform: translateY(-2px); }

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  font-size: 1.5rem; }

.stat-card .stat-content h3 {
  font-weight: 700;
  color: #334155;
  margin: 0 0 0.25rem 0;
  font-size: 1.75rem; }

.stat-card .stat-content p {
  color: #64748B;
  margin: 0;
  font-size: 0.9rem; }

.content-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid #dee2e6;
  height: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.content-card h5 {
  color: #334155;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f8f9fa; }

.content-card .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%; }

.content-card .table-responsive .dataTables_wrapper {
  max-width: 100%;
  min-width: 0; }

.content-card #tablaPlanes,
.content-card #tablaNegocios {
  table-layout: fixed;
  width: 100% !important;
  margin-bottom: 0; }

.content-card #tablaBitacora {
  table-layout: auto;
  width: 100% !important;
  margin-bottom: 0; }

.content-card .table-responsive table tbody td {
  word-wrap: break-word;
  overflow-wrap: break-word; }

.content-card .table-responsive table tbody td:last-child {
  white-space: nowrap; }

.activity-list .activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f8f9fa; }

.activity-list .activity-item:last-child {
  border-bottom: none; }

.activity-list .activity-item .activity-icon {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  font-size: 1rem;
  flex-shrink: 0; }

.activity-list .activity-item .activity-content {
  flex: 1; }

.activity-list .activity-item .activity-content p {
  margin: 0 0 0.25rem 0;
  color: #334155; }

.activity-list .activity-item .activity-content small {
  color: #64748B; }

.quick-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease; }

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

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease; }

  .sidebar.show {
    transform: translateX(0); }

  .main-content {
    margin-left: 0; } }
@media (max-width: 767.98px) {
  .content {
    padding: 1rem; }

  .topbar {
    padding: 1rem; }

  .welcome-card {
    padding: 1.5rem; }

  .stat-card {
    padding: 1rem; }

  .stat-card .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem; }

  .stat-card .stat-content h3 {
    font-size: 1.5rem; } }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: #334155;
  background-color: #FFFFFF;
  margin: 0;
  padding: 0; }

body:has(.login-form) {
  min-height: 100vh;
  background: #FFFFFF; }

.content-card .table-actions button {
  margin-right: 0.25rem; }

.ficha-dl dt {
  font-weight: 600;
  color: #334155; }

.ficha-dl dd {
  margin-bottom: 0.75rem;
  color: #64748B; }

.promo-preview {
  max-width: 320px;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem; }

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease; }

  .sidebar.show-mobile {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12); }

  .main-content {
    margin-left: 0 !important; } }
