/* Fondo general */
body {
  background-image: url("../background13.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: 'Bebas Neue', sans-serif;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}
h3{
  text-align: center;
}
li{
  list-style: none;
  font-size: medium;
}



.col-md-4{
  text-align: center;
}


/* Cartas desenfocadas */
.bg-blur {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

/* Bloques visuales generales */
.bloque-contraste {
  background-color: rgba(172, 172, 172, 0.85);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
}

/* Quitar sombra a tablas */
.table>:not(caption)>*>* {
  text-shadow: none;
}


/* Banner superior */
.banner-img {
  height: 250px;
  object-fit: cover;
}

/* Foto de perfil */
.foto-perfil {
  width: 200px;
  height: 200px;
  position: absolute;
  bottom: -60px;
  left: 50px;
  object-fit: cover;
  border: 3px solid white;
  border-radius: 50%;
}

/* Bloques de info */
.info-local,
.servicios,
.agendar-turno,
.extra-info {
  color: white;
  font-size: x-large;
  font-weight: 100;
}

/* Cards de servicios */
.card-servicio {
  text-shadow: none;
}

/* Formulario grande */
.form-agenda input,
.form-agenda select {
  font-size: x-large;
}

/* Sección de barberos */
.admin-barberos {
  color: white;
  font-size: large;
}

/* Tabla responsive para móvil */
.tabla-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabla-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.tabla-responsive th,
.tabla-responsive td {
  white-space: nowrap;
  padding: 0.25rem;
  font-size: 0.8rem;
  vertical-align: middle;
}

.table>:not(caption)>*>*{
  padding: .2rem .2rem;
  background-color: #dfdfdf;
  align-content: center;
  text-align: center;
  border: none;
}

/* Login */
.login-box {
  max-width: 400px;
  color: white;
}

/* Sección de servicios */
.admin-servicios {
  color: white;
  font-size: large;
}

/* Tablas responsivas ya cubiertas con .tabla-responsive */

/* Sección de resumen de gastos */
.admin-gastos {
  color: white;
  font-size: large;
}

.d-none {
  display: none !important;
}

.text-muted{
  margin: 0;
}

.precio-servicio{
  margin: 0;
}

/* Fondo general */
#calendario {
  background-color: #dfdfdf;
  font-family: Roboto;
  border-radius: 12px;
  padding: 10px;
  color: white;
}

/* Título del día */
.fc .fc-toolbar-title {
  font-size: 1rem;
  color: black;
}

/* Botones de navegación */
.fc .fc-button {
  background-color: #333;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: small;
}

/* Franja de horas a la izquierda */
.fc-timegrid-slot-label {
  color: black;
  font-size: 0.85rem;
}

/* Encabezado de columna (día) */
.fc .fc-col-header-cell {
  background-color: #dfdfdf;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
}

.fc .fc-col-header-cell a{
  color: black;
  text-decoration: none;
  text-shadow: none;
}

/* Fondo de cada hora */
.fc .fc-timegrid-slot {
  background-color: #dfdfdf;
  border-top: 1px solid rgba(0, 0, 0, 0.195);
}

/* Eventos */
.fc-event {
  background-color: #25418e;
  color: black;
  border-radius: 6px;
  border: none;
  padding: 4px 6px;
  font-size: 0.85rem;
  box-shadow: 1px 1px 5px #00000066;
    line-height: 1.2;
}

/* Hora del evento visible dentro */
.fc-event-time {
  font-weight: normal;
  color: #222;
}

.fc-event-title,
.fc-event-time {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Línea del "ahora" */
.fc-timegrid-now-indicator-line {
  background-color: red;
}

.fc-v-event .fc-event-main-frame{
  display: flex;
  flex-direction: row;
  gap: 10px
}
/* Scroll y bordes suaves */
.fc-scroller-liquid-absolute {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.fc .fc-toolbar{
  display: flex;
}


/* Ajustes generales para móvil */
@media (max-width: 768px) {

  .table {
    font-family: Roboto;
    font-size: small;
  }
  .bloque-contraste {
    padding: 5px !important;
    font-size: large !important;
  }

  .bloque-contraste h1,
  .bloque-contraste h3,
  .bloque-contraste h4 {
    font-size: 1.5rem !important;
  }

  .bloque-contraste p,
  .bloque-contraste ul,
  .bloque-contraste label,
  .bloque-contraste input,
  .bloque-contraste select {
    font-size: 1rem !important;
  }

  /* Foto de perfil y banner */
  .position-relative img.rounded-circle {
    width: 120px !important;
    height: 120px !important;
    bottom: -40px !important;
    left: 20px !important;
  }

  .position-relative img.img-fluid {
    height: 180px !important;
  }

  /* Formulario: una columna */
  form.row.g-3 .col-md-6,
  form.row.g-3 .col-md-3 {
    width: 100% !important;
  }
  #horarioAtencion{
  font-size: 20px !important;
}
}
  @media (prefers-color-scheme: dark) {
  body,
  .bloque-contraste,
  .form-control,
  .form-select,
  .bg-dark {
    background-color: rgba(172, 172, 172, 0.85) !important; 
    color: white !important;
    text-shadow: none !important;

  }
  
  .bg-dark{
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
  }
  .card{
    background-color: #ffffff !important;
  }

  .table {
    background-color: #ffffff !important;
  }

  
  
}
