/* Fuentes e Importaciones */
@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed:ital,wght@0,300;0,400;0,500;1,300&family=Saira+Semi+Condensed:ital,wght@0,300;0,400;0,500;1,300&family=Saira:ital,wght@0,100;0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

/* Estilos Base */
body {
  font-family: 'Saira', sans-serif;
  background-color: #f7f9fa;
  color: #333333;
  margin: 0;
  padding: 20px;
}

.main-container {
  max-width: 650px;
  margin: 0 auto;
}

/* Utilidades de Disposición */
.text-center { text-align: center; }
.d-none { display: none; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.flex-wrap { flex-wrap: wrap; }

/* Tipografía */
.page-title {
  font-weight: 500;
  margin-bottom: 25px;
}

.section-title {
  font-weight: 500;
  margin-top: 0;
}

.section-description {
  font-weight: 300;
}

/* Encabezado Docente */
.teacher-bar {
  display: none;
  background: #2c3e50;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Tarjetas y Secciones */
.card-section {
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.card-login {
  border: 1px solid #e0e0e0;
}

.card-hardware {
  border: 1px solid #f39c12;
  background: #fffdf9;
}

.card-student {
  border: 1px solid #27ae60;
}

.card-exam {
  border: 1px solid #dcdcdc;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Contenedores Internos del Examen */
.exam-controls {
  margin-bottom: 20px;
}

.reading-area {
  margin-bottom: 20px;
  padding: 20px 10px;
  background-color: #ffffff;
  border-radius: 12px;
}

.checkbox-label {
  cursor: pointer;
}

/* Botones */
.btn {
  font-family: 'Saira', sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-google {
  background: #4285f4;
  color: #ffffff;
  padding: 12px 24px;
  margin-top: 10px;
}

.btn-hardware {
  background: #f39c12;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
}

.btn-student {
  padding: 10px 20px;
  background: #27ae60;
  color: #ffffff;
}

.btn-start-recording {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px;
}

.btn-close-session {
  background: #c0392b;
  color: #ffffff;
  padding: 6px 14px;
}

.btn-logout-teacher {
  background: #e74c3c;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
}

/* Entradas de Formulario */
.input-text {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Saira', sans-serif;
}

.select-field {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: 'Saira', sans-serif;
}

/* Panel de Depuración */
.debug-panel {
  margin-top: 30px;
  padding: 15px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  font-family: monospace;
  font-size: 13px;
  border-radius: 6px;
}

/* Ocultar elementos por defecto sin bloquear manipulación por JS */
.hidden {
  display: none;
}