/* ==========================================
   ESTILOS GENERALES Y CONFIGURACIÓN BASE
   Módulo de Horarios - Diseño Unificado
   ========================================== */

body {
  font-family: "Open Sans", sans-serif;
  background: rgb(37,190,212);
  background: linear-gradient(0deg, rgba(37,190,212,1) 0%, rgba(39,144,159,1) 10%, rgba(40,107,117,1) 25%, rgba(42,74,79,1) 50%, rgba(43,45,46,1) 100%);
  background-attachment: fixed;
}

/* IMPORTAR DISEÑO GLOBAL DE LOGIN */
/* Se asume que este archivo carga después del CSS global si hay conflictos */

.login-container {
    background-color: #2b2d2e;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    border: 1px solid #4d4f51;
    color: #ffffff;
}

.input-group-text {
    background-color: #1a1a1a !important;
    border-color: #4d4f51 !important;
    color: #25BED4 !important;
}

.form-control {
    background-color: #3d3f41 !important;
    border: 1px solid #4d4f51 !important;
    color: white !important;
}

.btn-primary {
    background-color: #25BED4 !important;
    border: none !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* ==========================================
   COMPONENTES DE LA INTERFAZ DE FICHAJE
   ========================================== */

.clock-display {
  font-size: 3.5rem;
  font-weight: bold;
  color: #25BED4;
  text-align: center;
  margin: 20px 0;
  font-family: "Courier New", Courier, monospace;
}

.btn-marca {
  width: 100%;
  padding: 20px;
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-marca:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.admin-container {
  background: #353535;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(59, 59, 59, 0.459);
  border: 1px solid #dee2e6;
}

/* ESTADOS DE JORNADA */
.bg-full { background-color: #198754; }
.bg-partial { background-color: #25BED4; }
.bg-short { background-color: #fd7e14; }

/* CALENDARIO */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 5px;
  border: 1px solid transparent;
}

.calendar-day.has-mark {
  background: #fff;
  color: #eaf2fa;
  border: 1px solid #e9ecef;
}
