/* ========================================
   COMPONENTES CSS COBAQROO 45 ANIVERSARIO
   ======================================== */

/* ===== ESTILOS DEL MENÚ DESPLEGABLE ===== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-overlay);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-content {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-primary);
  border-radius: 20px 20px 0 0;
  padding: 30px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.menu-content.active {
  transform: translateY(0);
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: var(--color-border-hover);
  border-radius: 10px;
  padding-left: 10px;
}

.menu-item i {
  width: 40px;
  text-align: center;
  margin-right: 15px;
  color: var(--color-primary);
}

/* ===== ESTILOS DE MODALES ===== */
.program-modal-content {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-primary);
  border-radius: 20px 20px 0 0;
  padding: 30px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  max-height: 100vh;
  overflow-y: auto;
}

.program-modal-content.active {
  transform: translateY(0);
}

.program-modal-content .space-y-4 {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.program-modal-content .space-y-4::-webkit-scrollbar {
  display: none;
}

/* ===== FLECHA INDICADORA DE SCROLL ===== */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10001;
}

.scroll-indicator.hidden {
  opacity: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-5px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

/* ===== ESTILOS DE FAQ ===== */
.faq-item {
  border: 1px solid var(--color-modal-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.7);
}

.faq-question span {
  font-weight: 600;
  color: var(--color-modal-text);
  font-size: 14px;
}

.faq-question i {
  color: var(--color-primary);
  transition: transform 0.2s ease;
  font-size: 14px;
}

.faq-answer {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.3);
  display: none;
}

.faq-answer p {
  color: var(--color-modal-text-sub);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ===== ESTILOS DE TABLAS ===== */
.modal-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.modal-table thead {
  background: var(--color-secondary);
  color: white;
}

.modal-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.modal-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.modal-table tbody tr:hover {
  background: #f9fafb;
}

.modal-table td {
  padding: 12px 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-size: 14px;
}

.modal-table .activity-icon {
  display: flex;
  align-items: center;
}

.modal-table .activity-icon i {
  margin-right: 8px;
  font-size: 18px;
}

/* ===== ESTILOS DE BOTONES ===== */
.btn-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== ESTILOS DE TARJETAS ===== */
.card-hover {
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== ESTILOS DE ESTADÍSTICAS ===== */
.stats-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stats-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--color-stats-number);
  margin-bottom: 8px;
}

.stats-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
} 