﻿body,
.card,
.card * {
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f4f4;
  padding: 10px;
}

/* Tarjeta general */
.card {
  background: #fff;
  border-radius: 12px; /* Bordes redondeados tarjeta */
  box-shadow: 0 2px 10px #c9c9c9; /* Sombra tarjeta */
  padding: 32px 28px;
  max-width: 700px;
  margin: 40px auto;
}

/* Títulos */
h2 {
  color: #20436b;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

/* Etiqueta de formulario */
.form-label {
  font-weight: 500;
  color: #20436b;
}

/* Inputs y textarea */
.form-select,
.form-control,
textarea {
  border-radius: 7px;
  border: 1px solid #bbb;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Botón principal */
.btn-primary {
  background: #20436b;
  border: none;
  border-radius: 7px;
  padding: 8px 28px;
  font-weight: 600;
  color: #fff;
  transition: background 0.15s;
}

/* Botón principal al pasar el mouse */
.btn-primary:hover {
  background: #0a2951;
  color: #fff;
}

/* Botón secundario */
.btn-secondary {
  background: #b7bbc8;
  color: #20436b;
  border: none;
  border-radius: 7px;
  padding: 8px 28px;
  font-weight: 600;
  transition: background 0.15s;
}

/* Botón secundario al pasar el mouse */
.btn-secondary:hover {
  background: #d6dae2;
}

/* Tablas generales */
.table {
  background: #fff;
  border-radius: 12px; /* Bordes redondeados tabla */
  /* box-shadow: 0 2px 10px #c9c9c9; */
  font-size: 1rem;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
}

.table tbody tr:hover {
  background: #f3f6fa;
}

/* Navbar personalizada */
.navbar-agenda {
  background: #f3f6fa;
  border-radius: 0 0 18px 18px;
  margin-bottom: 24px;
  padding: 10px 24px 4px 24px;
  box-shadow: 0 2px 6px #dadada;
}
.nav-link.active {
  font-weight: 600;
  color: #20436b !important;
  border-bottom: 2px solid #20436b;
}
.selector-central {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 22px 0;
}

/* --------- MAPA --------- */
#mapdiv {
  width: 100%;
  min-height: 480px;
  height: 700px;
  max-width: 100%;
}

/* Cronograma */
.card-crono {
  min-height: 340px;
}

/* Ajuste columnas y selector para pantallas pequeñas */
@media (max-width: 991px) {
  .row-cols-md-2 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .selector-central {
    flex-direction: column;
  }
}

/* TABLA - NO RECORTES, TODO VISIBLE */
.tabla-cronograma th,
.tabla-cronograma td {
  vertical-align: middle;
  padding: 8px 12px;
  font-size: 1rem;
  word-break: break-word;
  white-space: normal;
}

/* Opcional: Mejorar visibilidad columna semana */
.tabla-cronograma td.fw-bold {
  font-weight: bold;
}

.card-crono {
  min-height: 340px;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: none;
  box-shadow: none;
}

.card-crono .table-responsive {
  padding: 0 !important;
  margin: 0 !important;
}

.card-crono table {
  margin-bottom: 0;
  width: 100% !important;
}

.table thead th {
  background: #20436b;
  color: #fff;
}

.card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e3e3e3;
}
