@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --fc-guinda: #611232;
  --fc-dorado: #bc955b;
  --fc-sidebar: #343a40;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.bg-guinda { background-color: var(--fc-guinda) !important; }
.text-guinda { color: var(--fc-guinda) !important; }
.text-dorado { color: var(--fc-dorado) !important; }

.main-sidebar { background-color: var(--fc-sidebar) !important; }
.main-sidebar .brand-link { background-color: var(--fc-guinda) !important; }
.sidebar-mini .main-sidebar .brand-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-sidebar .nav-link.active {
  background-color: var(--fc-guinda) !important;
  color: #fff !important;
}
.nav-sidebar .nav-link:hover { color: #fff; }
.nav-header {
  color: var(--fc-dorado) !important;
  font-size: 0.7rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.35;
}

.dashboard-section {
  padding-bottom: 0.25rem;
}
.dashboard-section + .dashboard-section {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
}

.fc-scroll-target {
  scroll-margin-top: 72px;
}

.fc-main-header {
  background-color: var(--fc-guinda) !important;
  min-height: 57px;
}
.fc-main-header .nav-link,
.fc-main-header .navbar-text {
  color: #fff !important;
}

.content-wrapper {
  background: #f4f6f9;
  min-height: calc(100vh - 57px);
}

.page-title {
  font-weight: 600;
  color: var(--fc-guinda);
}

.dashboard-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(97, 18, 50, 0.15);
}
.dashboard-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  background: var(--fc-guinda);
}
.dashboard-card .card-icon.icon-dorado {
  background: var(--fc-dorado);
}

.btn-entrar,
.btn-guinda {
  background-color: var(--fc-guinda);
  border-color: var(--fc-guinda);
  color: #fff;
}
.btn-entrar:hover,
.btn-guinda:hover {
  background-color: #4d0e28;
  border-color: #4d0e28;
  color: #fff;
}

.fc-footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  padding: 1rem 1rem 0.5rem;
  background: #f4f6f9;
}

.fc-site-footer,
footer.footer {
  background-color: var(--fc-guinda) !important;
  color: #fff;
  margin-top: 0;
}

.fc-footer-logo-side {
  max-width: 180px;
  margin-top: 1rem;
}

.fc-footer-logo-center {
  max-width: 400px;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .fc-footer-logo-side {
    max-width: 150px;
  }
  .fc-footer-logo-center {
    max-width: 280px;
  }
}

.fc-site-footer p,
.fc-site-footer .fc-contacto {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fc-contacto {
  margin-top: 1rem;
}

.oferta-table {
  font-size: 0.82rem;
}
.oferta-table th,
.const-table th {
  white-space: nowrap;
  background: #f8f9fa;
  color: var(--fc-guinda);
  font-weight: 600;
}

.const-table {
  font-size: 0.82rem;
}

.btn-outline-guinda {
  color: var(--fc-guinda);
  border-color: var(--fc-guinda);
}
.btn-outline-guinda:hover {
  background: var(--fc-guinda);
  color: #fff;
}

dir-pagination-controls {
  display: block;
  width: 100%;
}

.pagination .page-item.active .page-link {
  background-color: var(--fc-guinda);
  border-color: var(--fc-guinda);
}
.pagination .page-link {
  color: var(--fc-guinda);
}
.pagination .page-link:hover {
  color: #4a0e27;
}

.curso-list .list-group-item.active {
  background-color: var(--fc-guinda);
  border-color: var(--fc-guinda);
  color: #fff;
}
.curso-list {
  max-height: 420px;
  overflow: auto;
}
.curso-list .table-active,
.curso-list .table-active td {
  background-color: #f3e6eb !important;
}

.reporte-table-wrap {
  max-height: 420px;
  overflow: auto;
}

.reporte-table {
  font-size: 0.72rem;
}
.reporte-table th,
.reporte-table td {
  white-space: nowrap;
  padding: 0.22rem 0.4rem;
  vertical-align: middle;
  line-height: 1.2;
  background: #fff;
}
.reporte-table th {
  background: #f8f9fa;
  color: var(--fc-guinda);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}
.reporte-table .table-active,
.reporte-table .table-active td {
  background-color: #f3e6eb !important;
}

.layout-top-nav .wrapper .main-header,
.layout-top-nav .wrapper .content-wrapper {
  margin-left: 0 !important;
}

body.fc-publico,
body.fc-publico .wrapper,
body.fc-publico .content-wrapper {
  height: auto !important;
  min-height: 0 !important;
}

html:has(body.fc-publico) {
  height: auto !important;
  background-color: #f4f6f9 !important;
}

body.fc-publico {
  background-color: #f4f6f9 !important;
}

body.fc-publico .content-wrapper {
  background: #f4f6f9;
}

body.fc-publico .content {
  padding-top: 1rem !important;
  padding-bottom: 0.75rem !important;
}

.fc-publico-brand img {
  height: 40px;
}

.fc-publico .main-header .navbar-text {
  font-size: 0.95rem;
}

.fc-verify-badge {
  display: inline-block;
  background: #f3e6eb;
  color: var(--fc-guinda);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.fc-verify-item {
  border-bottom: 1px solid #eee;
  padding: 0.9rem 0;
}

.fc-verify-item:last-child {
  border-bottom: 0;
}

.fc-verify-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.fc-verify-card {
  border-top: 4px solid var(--fc-guinda) !important;
}

.fc-verify-section {
  background: #faf7f8;
  border: 1px solid #efe4e8;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.fc-verify-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fc-guinda);
  margin: 0 0 0.65rem;
}

.fc-verify-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
}

.fc-verify-curp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fc-verify-curp-value {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: #fff;
  border: 1px solid #e5d0d7;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  color: var(--fc-guinda);
}

.fc-verify-course {
  font-size: 1.05rem;
  font-weight: 600;
  color: #343a40;
  line-height: 1.45;
  word-break: break-word;
}

.fc-verify-stat {
  background: #fff;
  border: 1px solid #eadfe3;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  height: 100%;
}

.fc-verify-stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
}

.fc-verify-periodo {
  font-size: 0.95rem;
}

.alert-light a,
.fc-publico .alert a {
  color: var(--fc-guinda) !important;
  font-weight: 600;
  text-decoration: underline;
}
.alert-light a:hover,
.fc-publico .alert a:hover {
  color: #4d0e28 !important;
}

.fc-modal-header {
  background-color: var(--fc-guinda);
  color: #fff;
  border-bottom: 0;
}
.fc-modal-header .close {
  opacity: 0.9;
  text-shadow: none;
}
