/* Importar fuente Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* Contenedor principal del timer - muy específico para evitar conflictos con WordPress */
.kundala-meditation-timer {
  font-family: 'Montserrat', sans-serif !important;
  background-color: #f5f5f7 !important;
  min-height: auto !important;
  margin: 2em auto !important;
  color: #333 !important;
  padding: 1em !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 500px !important;
}

.kundala-meditation-timer .container {
  background: white !important;
  padding: 2.5em !important;
  padding-top: 3em !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.kundala-meditation-timer h1 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-bottom: 1.5em !important;
  margin-top: 0 !important;
  font-size: 1.8em !important;
  line-height: 1.2 !important;
}

.kundala-meditation-timer label {
  display: block !important;
  margin-top: 1em !important;
  margin-bottom: 0.5em !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.9em !important;
  color: #666 !important;
}

.kundala-meditation-timer input[type="number"] {
  margin: 0.5em auto 1.5em !important;
  padding: 0.8em !important;
  width: 120px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1em !important;
  text-align: center !important;
  transition: border-color 0.2s !important;
  background: white !important;
  color: #333 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.kundala-meditation-timer input[type="number"]:focus {
  outline: none !important;
  border-color: #666 !important;
  box-shadow: none !important;
}

.kundala-meditation-timer .button-container {
  margin: 1.5em 0 !important;
  width: 100% !important;
}

.kundala-meditation-timer button {
  width: 100% !important;
  padding: 1em !important;
  font-size: 1.1em !important;
  cursor: pointer !important;
  background: #263853 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1 !important;
}

.kundala-meditation-timer button.stop {
  background: #2A3532 !important;
}

.kundala-meditation-timer button:hover {
  background: #1a1a1a !important;
  transform: none !important;
}

.kundala-meditation-timer button:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
}

.kundala-meditation-timer .logo-container {
  margin-bottom: 2em !important;
  text-align: center !important;
  width: 100% !important;
}

.kundala-meditation-timer .logo {
  width: 60% !important;
  max-width: 200px !important;
  height: auto !important;
  opacity: 0.9 !important;
  display: block !important;
  margin: 0 auto !important;
}

.kundala-meditation-timer .countdown {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 3.5em !important;
  font-weight: 600 !important;
  margin: 0.3em 0 1em !important;
  color: #263853 !important;
  line-height: 1 !important;
}

.kundala-meditation-timer .sound-selector {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2em !important;
  margin-bottom: 2.5em !important;
  flex-wrap: wrap !important;
}

.kundala-meditation-timer .sound-option {
  cursor: pointer !important;
  padding: 1em !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  opacity: 0.6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
}

.kundala-meditation-timer .sound-option:hover {
  opacity: 0.8 !important;
  transform: scale(1.05) !important;
}

.kundala-meditation-timer .sound-option.active {
  opacity: 1 !important;
  background: rgba(38, 56, 83, 0.1) !important;
  box-shadow: 0 4px 12px rgba(38, 56, 83, 0.15) !important;
}

.kundala-meditation-timer .sound-icon {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  transition: transform 0.2s ease !important;
  display: block !important;
}

.kundala-meditation-timer .sound-option:active .sound-icon {
  transform: scale(0.95) !important;
}

.kundala-meditation-timer #status {
  color: #666 !important;
  font-size: 0.9em !important;
  margin-top: 1em !important;
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.4 !important;
}

/* Optimizaciones para móviles */
@media (max-width: 768px) {
  .kundala-meditation-timer {
    margin: 1em auto !important;
    padding: 0.5em !important;
    max-width: 95% !important;
  }

  .kundala-meditation-timer .container {
    padding: 2em 1.5em !important;
    padding-top: 2.5em !important;
  }

  .kundala-meditation-timer h1 {
    font-size: 1.5em !important;
    margin-bottom: 1em !important;
  }

  .kundala-meditation-timer .countdown {
    font-size: 3em !important;
    margin: 0.2em 0 0.8em !important;
  }

  .kundala-meditation-timer .sound-selector {
    gap: 1.5em !important;
    margin-bottom: 2em !important;
  }

  .kundala-meditation-timer .sound-option {
    padding: 0.8em !important;
  }

  .kundala-meditation-timer .sound-icon {
    width: 50px !important;
    height: 50px !important;
  }

  .kundala-meditation-timer .logo {
    width: 50% !important;
    max-width: 150px !important;
  }

  .kundala-meditation-timer button {
    padding: 0.9em !important;
    font-size: 1em !important;
  }
}

@media (max-width: 480px) {
  .kundala-meditation-timer {
    padding: 0.25em !important;
  }

  .kundala-meditation-timer .container {
    padding: 1.5em 1em !important;
    padding-top: 2em !important;
    border-radius: 15px !important;
  }

  .kundala-meditation-timer h1 {
    font-size: 1.3em !important;
  }

  .kundala-meditation-timer .countdown {
    font-size: 2.5em !important;
  }

  .kundala-meditation-timer .sound-selector {
    gap: 1em !important;
    margin-bottom: 1.5em !important;
  }

  .kundala-meditation-timer .sound-icon {
    width: 45px !important;
    height: 45px !important;
  }

  .kundala-meditation-timer .logo {
    width: 45% !important;
    max-width: 120px !important;
  }
}
