/* voice_intro.css — Modal estilo iOS para activar modo voz */

.voice-intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.voice-intro-overlay.is-visible {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.voice-intro-sheet {
  background: #f2f2f7;
  color: #1c1c1e;
  width: 100%;
  max-width: 440px;
  border-radius: 24px 24px 0 0;
  padding: 1rem 1.5rem 2rem;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  font-family: -apple-system, "IBM Plex Sans", "Helvetica Neue", sans-serif;
  margin: 0 0.75rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .voice-intro-overlay {
    align-items: center;
  }
  .voice-intro-sheet {
    border-radius: 24px;
    margin-bottom: 0;
  }
}

[data-bs-theme="dark"] .voice-intro-sheet {
  background: #1c1c1e;
  color: #f2f2f7;
}

.voice-intro-overlay.is-visible .voice-intro-sheet {
  transform: translateY(0);
}

.voice-intro-handle {
  width: 40px;
  height: 5px;
  background: #c4c4c4;
  border-radius: 3px;
  margin: 0 auto 1.5rem;
}

[data-bs-theme="dark"] .voice-intro-handle {
  background: #4a4a4c;
}

.voice-intro-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.voice-intro-icon i {
  font-size: 3.5rem;
  color: #007aff;
  display: inline-block;
  padding: 0.75rem;
  background: rgba(0, 122, 255, 0.12);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 1;
}

.voice-intro-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.voice-intro-subtitle {
  text-align: center;
  color: #6c6c70;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 1.75rem;
}

[data-bs-theme="dark"] .voice-intro-subtitle {
  color: #aeaeb2;
}

.voice-intro-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}

.voice-intro-btn:active {
  transform: scale(0.98);
}

.voice-intro-btn-primary {
  background: #007aff;
  color: white;
}

.voice-intro-btn-primary:hover {
  background: #0062cc;
}

.voice-intro-btn-secondary {
  background: rgba(118, 118, 128, 0.12);
  color: #1c1c1e;
}

.voice-intro-btn-secondary:hover {
  background: rgba(118, 118, 128, 0.2);
}

[data-bs-theme="dark"] .voice-intro-btn-secondary {
  background: rgba(118, 118, 128, 0.24);
  color: #f2f2f7;
}

.voice-intro-btn-ghost {
  background: transparent;
  color: #007aff;
  margin-bottom: 0;
}

.voice-intro-btn-ghost:hover {
  background: rgba(0, 122, 255, 0.08);
}
