html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: #f8fafc;
  margin-bottom: 60px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-gestion {
  background-color: #343a40;
}

.navbar-gestion .nav-link:hover,
.navbar-gestion .navbar-brand:hover {
  color: #d1d5db !important;
}

.switch-principal-box {
  border-width: 2px !important;
  transition: all 0.2s ease;
}

.switch-principal-on {
  background: linear-gradient(135deg, #ecfdf3 0%, #dcfce7 100%);
  border-color: #22c55e !important;
}

.switch-principal-off {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #ef4444 !important;
}

.switch-principal-toggle {
  transform: scale(1.25);
  transform-origin: left center;
  margin-top: 0.35rem;
}

.footer {
  background-color: #fff;
}

table.dataTable tbody tr:hover {
  background-color: #eff6ff !important;
}

.scroll-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
  display: inline-flex;
}

.tipo-usuario-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fff7cc;
  border: 1px solid #f2e08a;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 600;
}

.dte-status-pendiente {
  background-color: #ffe8e8;
  border: 1px solid #f5bcbc;
  color: #8a1f1f;
}

.dte-status-resuelto {
  background-color: #e8f8ec;
  border: 1px solid #b7e4c1;
  color: #1f6f3a;
}

.status-pendiente {
  background-color: #ffe8e8;
  border: 1px solid #f5bcbc;
  color: #8a1f1f;
}

.status-finalizado {
  background-color: #e8f8ec;
  border: 1px solid #b7e4c1;
  color: #1f6f3a;
}

.status-en-proceso {
  background-color: #eaf2ff;
  border: 1px solid #c6d9ff;
  color: #1e3a8a;
}

.status-estancado {
  background-color: #fff5e6;
  border: 1px solid #f8d7a8;
  color: #9a3412;
}

.kanban-board .card {
  background-color: #fff;
}

.kanban-column {
  max-height: 68vh;
  overflow-y: auto;
}

.kanban-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.65rem;
  background-color: #f9fafb;
  margin-bottom: 0.65rem;
}
