.calendar-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  max-width: 100%;
}

.calendar-header {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  height: 60px;
  padding-right: 15px;
  box-sizing: content-box;
}

.day-header {
  flex: 1;
  border-left: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}

.time-column {
  width: 60px;
  min-width: 60px;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
  padding-top: 18px;
  color: #6c757d;
  text-align: right;
  padding-right: 10px;
  font-size: 16px;
  flex-shrink: 0;
}

.calendar-grid {
  max-height: 600px;
  overflow-y: auto;
}

.hour-row {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  height: 80px;
  /* aumentado */
}

.day-cell {
  flex: 1;
  border-left: 1px solid #dee2e6;
  position: relative;
  padding: 6px 8px;
  /* un poco más de padding */
  background-color: white;
  overflow: hidden;
}

.day-cell:hover {
  background-color: #f1f3f5;
  cursor: pointer;
}

.appointment-card {
  background-color: #e9f5ff;
  border-left: 4px solid #007bff;
  padding: 6px 8px;
  /* aumentado */
  border-radius: 4px;
  font-size: 13px;
  /* un poquito más grande */
  margin-bottom: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  max-height: 75px;
  /* más alto para que entre el texto */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-card .fw-bold {
  font-size: 13px;
}

.appointment-card .text-muted {
  font-size: 11px;
}

/*el boton para agregar citas en el calendario*/

.time-column-header {
  width: 60px;
  /* igual que la columna de horas */
  height: 60px;
  /* igual que la altura del header */
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  box-sizing: border-box;
}

.time-column-header>button>i {
  position: relative;
  top: -5px;
  /* sube 2px */
  left: -5px;
  /* mueve 1px a la izquierda */
}

.time-column-header>button {
  transition: background-color 0.2s ease;
}

.time-column-header>button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  /* fondo más oscuro al pasar el mouse */
}

.time-column-header>button:active>i {
  color: #0056b3 !important;
  /* azul más intenso al hacer click */
  transition: color 0.1s ease;
}