/* Archivo CSS para menú móvil perfecto */
/* Evita errores de MIME type al cargar desde PHP */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9998;
  display: none;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 400px;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu-container.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  background: linear-gradient(135deg, #ff1744, #d01040);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.close-menu-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-search-section {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.search-input-group input {
  flex: 1;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #333;
  color: white;
  font-size: 14px;
}

.search-advanced-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #e91e63, #c2185b);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-advanced-btn:hover {
  background: linear-gradient(135deg, #c2185b, #ad1457);
  transform: translateY(-1px);
}

.search-tips {
  font-size: 12px;
  color: #ccc;
  margin-top: 8px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .mobile-menu-container {
    width: 95%;
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-advanced-btn {
    width: 100%;
  }
}
