/**
 * Estilos para la página de validación de inscripciones
 * Cursos Vacacionales - GAD Municipal Chone
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 20px 0;
}

.page-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header */
.page-header {
  background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  padding: 30px 20px;
  text-align: center;
  color: white;
}

.header-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.header-logo img {
  max-width: 210px;
  width: 100%;
  height: auto;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

/* Content */
.page-content {
  padding: 40px 30px;
}

/* Mensaje informativo */
.alert-info-box {
  background: #e7f3ff;
  border-left: 4px solid #0056b3;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.alert-info-box .icon {
  color: #0056b3;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-info-box .message {
  margin: 0;
  color: #003d80;
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

/* Sección de countdown */
.countdown-wrapper {
  text-align: center;
  margin-top: 30px;
}

.countdown-header {
  margin-bottom: 30px;
}

.countdown-main-title {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.countdown-main-title i {
  color: #0056b3;
  margin-right: 8px;
}

.countdown-description {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* Timer */
.countdown-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.time-block {
  background: white;
  border: 2px solid #0056b3;
  border-radius: 10px;
  padding: 20px 15px;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.15);
  transition: all 0.3s ease;
}

.time-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

.time-value {
  display: block;
  font-size: 2.8rem;
  font-weight: bold;
  color: #0056b3;
  line-height: 1;
  margin-bottom: 8px;
}

.time-unit {
  display: block;
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Fecha de apertura */
.opening-date {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 25px;
  display: inline-block;
}

.opening-date i {
  color: #0056b3;
  margin-right: 8px;
}

.opening-date strong {
  color: #333;
}

.opening-date .date-text {
  color: #0056b3;
  font-weight: 600;
}

/* Sin countdown (sin fecha) */
.no-date-alert {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
  color: #856404;
}

.no-date-alert i {
  color: #ff9800;
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.3rem;
  }

  .header-logo img {
    max-width: 130px;
  }

  .page-content {
    padding: 30px 20px;
  }

  .countdown-main-title {
    font-size: 1.2rem;
  }

  .time-block {
    min-width: 80px;
    padding: 15px 10px;
  }

  .time-value {
    font-size: 2.2rem;
  }

  .time-unit {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .header-logos {
    flex-direction: column;
    gap: 15px;
  }

  .countdown-display {
    gap: 12px;
  }

  .time-block {
    min-width: 70px;
    padding: 12px 8px;
  }

  .time-value {
    font-size: 2rem;
  }

  .opening-date {
    font-size: 0.9rem;
  }
}
