/**
 * voz-phone.css
 * Torpedo de Voz – celular iOS: status bar, telas (incoming/ativa), slide, teclado, notificações.
 * Variáveis --ph-* no frame para tema claro/escuro.
 */

/* Status bar (iPhone style) */
.voz-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  color: rgba(255, 255, 255, 0.98);
  pointer-events: none;
}

.voz-time {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  width: 50px;
  user-select: none;
  text-align: center;
}

.voz-dynamic-island {
  width: 100px;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.voz-privacy-dot {
  width: 6px;
  height: 6px;
  background: #ff9500;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 149, 0, 0.4);
}

.voz-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 70px;
  justify-content: flex-end;
}

.voz-icon-signal,
.voz-icon-wifi {
  width: 18px;
  height: 18px;
}

.voz-icon-battery {
  width: 24px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  position: relative;
  padding: 1px;
}

.voz-icon-battery::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 1px 1px 0;
}

.voz-battery-level {
  width: 80%;
  height: 100%;
  background: white;
  border-radius: 1px;
}

[data-theme="light"] .voz-status-bar {
  color: #000;
}

[data-theme="light"] .voz-dynamic-island {
  background: #000;
}

[data-theme="light"] .voz-icon-battery {
  border-color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .voz-icon-battery::after {
  background-color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .voz-battery-level {
  background: #000;
}

/* Layout do phone */
.voz-phone-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.voz-phone-wrapper {
  padding: 3px;
  border-radius: 30px;
  position: relative;
  background: linear-gradient(165deg,
      #3d4654 0%,
      #343c4a 25%,
      #2e3542 50%,
      #2a303c 75%,
      #262b36 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 4px 16px rgba(0, 0, 0, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .voz-phone-wrapper {
  padding: 4px;
  box-shadow: none;
}

/* Botões laterais da moldura (só visual) */
.voz-phone-side-buttons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  border-radius: 20px;
}

/* Botões laterais: idênticos à moldura, muito discretos */
.voz-phone-btn {
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(165deg, #3d4654 0%, #343c4a 45%, #2e3542 100%);
}

/* Volume + (esquerda) – tamanho normal */
.voz-phone-btn-volume-up {
  left: -1px;
  top: 21%;
  width: 4px;
  height: 32px;
}

/* Volume - (esquerda) */
.voz-phone-btn-volume-down {
  left: -1px;
  top: 29%;
  width: 4px;
  height: 32px;
}

/* Power (direita) */
.voz-phone-btn-power {
  right: -1px;
  top: 20%;
  width: 4px;
  height: 48px;
}

[data-theme="dark"] .voz-phone-btn {
  background: linear-gradient(165deg, #2a2e36 0%, #22262d 45%, #1c1f25 100%);
}

/* Frame: --ph-* (tema); proporções iPhone */
.voz-phone-frame {
  --ph-text: #000;
  --ph-text-muted: #555;
  --ph-label: rgba(0, 0, 0, 0.6);
  --ph-btn-bg: rgba(0, 0, 0, 0.08);
  --ph-btn-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ph-btn-icon: #000;
  --ph-status: #111;
  --ph-island-bg: rgb(0 0 0 / 94%);
  --ph-battery-border: rgba(0, 0, 0, 0.45);
  --ph-battery-fill: #222;
  width: 100%;
  max-width: 278px;
  height: 518px;
  aspect-ratio: 278 / 508;
  margin: 0;
  border: none;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  color: var(--ph-text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f6f7fb 0%, #eef0f5 50%, #e6e9f0 100%);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .voz-phone-frame {
  --ph-text: #f5f5f7;
  --ph-text-muted: rgba(255, 255, 255, 0.65);
  --ph-label: rgba(255, 255, 255, 0.55);
  --ph-btn-bg: rgba(255, 255, 255, 0.14);
  --ph-btn-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  --ph-btn-icon: #f5f5f7;
  --ph-status: rgba(255, 255, 255, 0.95);
  --ph-island-bg: rgba(0, 0, 0, 0.75);
  --ph-battery-border: rgba(255, 255, 255, 0.35);
  --ph-battery-fill: #f5f5f7;
  background:
    radial-gradient(120% 70% at 15% 15%, var(--wall-1-dark), transparent 60%),
    radial-gradient(120% 80% at 85% 35%, var(--wall-2-dark), transparent 62%),
    radial-gradient(90% 70% at 50% 95%, var(--wall-3-dark), transparent 60%),
    linear-gradient(180deg,
      var(--wall-base-1-dark),
      var(--wall-base-2-dark) 55%,
      var(--wall-base-2-dark) 100%);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.07);
}

/* Texto e botões dentro do frame (usam --ph-*) */
.voz-phone-frame .voz-call-label {
  color: var(--ph-label);
}

.voz-phone-frame .voz-caller-name-large,
.voz-phone-frame .voz-active-name,
.voz-phone-frame .voz-key-num {
  color: var(--ph-text);
}

.voz-phone-frame .voz-active-timer,
.voz-phone-frame .voz-key-alpha {
  color: var(--ph-text-muted);
}

.voz-phone-frame .voz-opt-btn {
  color: var(--ph-text);
}

.voz-phone-frame .voz-opt-circle,
.voz-phone-frame .voz-key-ios {
  background: var(--ph-btn-bg);
  color: var(--ph-text);
}

.voz-phone-frame .voz-opt-circle {
  box-shadow: var(--ph-btn-shadow);
}

.voz-phone-frame .voz-opt-circle svg {
  fill: var(--ph-btn-icon);
}

/* Status bar no frame */
.voz-phone-frame .voz-status-bar {
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-status);
}

.voz-phone-frame .voz-dynamic-island {
  width: 85px;
  height: 28px;
  border-radius: 16px;
  background: var(--ph-island-bg);
}

.voz-phone-frame .voz-icon-battery {
  width: 22px;
  height: 11px;
  border-color: var(--ph-battery-border);
}

.voz-phone-frame .voz-icon-battery::after {
  background: var(--ph-battery-border);
}

.voz-phone-frame .voz-battery-level {
  background: var(--ph-battery-fill);
}

/* Telas (incoming / active) */
.voz-screen {
  position: absolute;
  inset: 0;
  padding: 54px 18px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.voz-screen.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

[data-theme="dark"] .voz-phone-frame .voz-screen {
  background: transparent;
}

/* Tela "deslize para atender": vibração só na primeira vez, depois fica parado */
.voz-screen.active#vozIncomingScreen:not(.voz-incoming-vibrated) .voz-slide-track {
  animation: voz-slide-vibrate 0.4s ease-in-out infinite;
}

.voz-screen.active#vozIncomingScreen:not(.voz-incoming-vibrated) .voz-slide-container.voz-slide-dragging .voz-slide-track {
  animation: none;
}

@keyframes voz-slide-vibrate {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-1.5px);
  }

  40% {
    transform: translateX(1.5px);
  }

  60% {
    transform: translateX(-1px);
  }

  80% {
    transform: translateX(1px);
  }
}

/* Dark: brilho sutil atrás do nome (estilo iOS 17) */
[data-theme="dark"] .voz-phone-frame .voz-incoming-header {
  position: relative;
}

[data-theme="dark"] .voz-phone-frame .voz-incoming-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 120%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
      rgba(60, 140, 255, 0.06) 0%,
      rgba(80, 100, 140, 0.03) 40%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .voz-phone-frame .voz-incoming-header .voz-call-label,
[data-theme="dark"] .voz-phone-frame .voz-incoming-header .voz-caller-name-large {
  position: relative;
  z-index: 1;
}

/* Dark: tela ativa com leve glow no topo */
[data-theme="dark"] .voz-phone-frame .voz-active-container {
  position: relative;
}

[data-theme="dark"] .voz-phone-frame .voz-active-container::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%,
      rgba(70, 130, 220, 0.05) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* TELA 1: Chamada recebida */
.voz-incoming-header {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.voz-call-label {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 4px;
  font-family: inherit;
  user-select: none;
  color: var(--voz-call-label-dark);
}

.voz-caller-name-large {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  line-height: 1.1;
  user-select: none;
  color: var(--voz-call-name-dark);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
}

.voz-incoming-actions {
  width: 100%;
  position: absolute;
  bottom: 36px;
  display: flex;
  justify-content: center;
  padding: 0 18px;
}

/* Slide to answer */
.voz-slide-container {
  position: relative;
  width: 100%;
  max-width: 248px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voz-slide-track {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 68px;
  border-radius: 36px;
  padding: 5px;
  display: flex;
  align-items: center;
  overflow: visible;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .voz-phone-frame .voz-slide-track {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.12) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.15),
    0 2px 20px rgba(0, 0, 0, 0.4);
}

.voz-slide-knob {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.12s ease,
    background 0.2s,
    box-shadow 0.2s;
  animation: voz-slide-knob-hint 2.2s ease-in-out infinite;
}

.voz-slide-container:active .voz-slide-knob {
  transform: scale(0.95);
  background: #f2f2f2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.voz-slide-container.voz-slide-dragging .voz-slide-knob {
  animation: none !important;
}

.voz-slide-knob svg {
  width: 28px;
  height: 28px;
  fill: #34c759;
}

[data-theme="dark"] .voz-phone-frame .voz-slide-knob {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  box-shadow:
    0 2px 0 0 rgba(255, 255, 255, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .voz-phone-frame .voz-slide-knob svg {
  fill: #30d158;
}

@keyframes voz-slide-knob-hint {

  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(6px);
  }

  70% {
    transform: translateX(0);
  }
}

.voz-slide-hint-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: rgba(0, 0, 0, 0.55);
  animation: voz-slide-arrow-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.voz-slide-hint-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

[data-theme="dark"] .voz-phone-frame .voz-slide-hint-arrow {
  color: rgba(255, 255, 255, 0.75);
}

@keyframes voz-slide-arrow-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateY(-50%) translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(4px);
  }
}

/* TELA 2: Chamada ativa */
.voz-active-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 4px;
}

.voz-active-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.voz-active-avatar {
  display: none !important;
}

.voz-active-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
}

.voz-active-timer {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* Timer verde enquanto espera clicar em "Ouvir"; branco quando o áudio está rodando */
.voz-active-timer.voz-timer-waiting {
  color: #30d158;
  opacity: 0.95;
}

[data-theme="dark"] .voz-phone-frame .voz-active-timer.voz-timer-waiting {
  color: #30d158;
}

/* Grid 3 colunas (opções e teclado) */
.voz-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 16px;
  margin-bottom: auto;
  margin-top: 55px;
}

.voz-options-grid.hidden {
  display: none;
}

.voz-keypad-visible {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 14px;
  row-gap: 10px;
  margin-bottom: auto;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition:
    opacity 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.voz-keypad-visible.show-keypad {
  display: grid;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Botões de opção (mute, speaker, etc.) */
.voz-opt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.95);
  cursor: default;
}

.voz-opt-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.08);
  color: #000000;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.12s ease,
    background 0.2s,
    box-shadow 0.2s;
}

[data-theme="dark"] .voz-opt-circle {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}


.voz-opt-btn:active .voz-opt-circle {
  transform: scale(0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.voz-opt-circle svg {
  width: 24px;
  height: 24px;
}

/* Alto-falante: ícones (mudo = toque para ouvir / ligado = ondas) */
.voz-speaker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.voz-speaker-icon svg {
  width: 26px;
  height: 26px;
}

.voz-speaker-icon-on {
  display: none;
}

.voz-speaker-icon-on svg {
  width: 28px;
  height: 28px;
}

/* Estado: antes de clicar – botão maior, pulsando, leve cor (toque para ouvir) */
.voz-opt-btn-speaker {
  cursor: pointer;
}

/* Pulso do alto-falante só na primeira vez; depois fica parado */
.voz-opt-btn-speaker:not(.voz-speaker-pulsed):not(.voz-speaker-on) .voz-opt-circle-speaker {
  animation: voz-speaker-pulse 2s ease-in-out infinite;
}

.voz-opt-btn-speaker .voz-opt-circle-speaker {
  position: relative;
  width: 62px;
  height: 62px;
  background: rgba(52, 199, 89, 0.32);
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.35);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

[data-theme="dark"] .voz-opt-btn-speaker .voz-opt-circle-speaker {
  background: rgba(48, 209, 88, 0.28);
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4);
}

@keyframes voz-speaker-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(52, 199, 89, 0);
  }
}

/* Estado: depois de clicar – ícone ondas, sem pulso */
.voz-opt-btn-speaker.voz-speaker-on .voz-opt-circle-speaker {
  animation: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.voz-opt-btn-speaker.voz-speaker-on .voz-speaker-icon-muted {
  display: none;
}

.voz-opt-btn-speaker.voz-speaker-on .voz-speaker-icon-on {
  display: flex;
}

/* Ripple no clique (toque para ouvir) */
.voz-speaker-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.voz-opt-circle-speaker.voz-speaker-ripple--play .voz-speaker-ripple {
  animation: voz-speaker-ripple 0.5s ease-out forwards;
}

@keyframes voz-speaker-ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.voz-opt-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15px;
  color: #000;
}

[data-theme="dark"] .voz-opt-label {
  color: #ffffff;
}

/* Teclado numérico */
.voz-key-ios {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ph-text, #1c1c1e);
  background: var(--ph-btn-bg, rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(5px);
  transition:
    transform 0.1s ease,
    background 0.15s,
    box-shadow 0.15s;
}

.voz-key-ios:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.voz-key-num {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.voz-key-alpha {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-top: 2px;
}

/* Teclas 1, 2 e 3 pulsando: verdinho, clicáveis */
.voz-key-ios.pulsing {
  cursor: pointer;
  animation: pulse-key 1.5s infinite;
  background: rgba(48, 209, 88, 0.35);
  border: 1px solid rgba(48, 209, 88, 0.7);
  color: #0d3d1a;
}

[data-theme="dark"] .voz-phone-frame .voz-key-ios.pulsing {
  background: rgba(48, 209, 88, 0.3);
  border-color: rgba(48, 209, 88, 0.65);
  color: #b8f0c8;
}

@keyframes pulse-key {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
  }
}

/* Desligar */
.voz-hangup-wrapper {
  margin-top: 16px;
  margin-bottom: 22px;
}

.voz-btn-hangup-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--voz-phone-red, #ff3b30);
  box-shadow: 0 4px 18px rgba(255, 59, 48, 0.4);
  transition:
    transform 0.12s ease,
    box-shadow 0.2s;
}

.voz-btn-hangup-large:active {
  transform: scale(0.92);
  box-shadow: 0 2px 10px rgba(255, 59, 48, 0.5);
}

.voz-btn-hangup-large svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Notificações iOS */
.voz-notif-ios {
  position: absolute;
  top: -100px;
  left: 8px;
  right: 8px;
  z-index: 100;
  min-height: 56px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1c1c1e;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transition:
    top 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.25s ease;
}

.voz-notif-ios.show {
  top: 8px;
}

[data-theme="dark"] .voz-phone-frame .voz-notif-ios,
.voz-wa-demo-notif[data-theme],
.voz-rcs-demo-notif[data-theme],
.voz-sms-demo-notif[data-theme] {
  background: rgba(44, 42, 48, 0.95);
  color: #f5f5f7;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.voz-wa-demo-notif,
.voz-rcs-demo-notif,
.voz-sms-demo-notif {
  position: absolute;
  top: -100px;
  left: 8px;
  right: 8px;
  z-index: 20;
  min-height: 56px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1c1c1e;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transition:
    top 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.25s ease;
}

[data-theme="dark"] .voz-wa-demo-notif,
[data-theme="dark"] .voz-rcs-demo-notif,
[data-theme="dark"] .voz-sms-demo-notif {
  background: rgba(44, 42, 48, 0.95);
  color: #f5f5f7;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .voz-phone-frame .voz-notif-ios {
  background: rgba(44, 42, 48, 0.95);
  color: #f5f5f7;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.voz-notif-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.voz-notif-icon-box img,
.voz-notif-icon-box svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.voz-notif-icon-box.bg-sms img {
  filter: brightness(0) invert(1);
}

.bg-sms {
  background: #34c759;
}

.bg-whatsapp {
  background: #25d366;
}

.voz-notif-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.voz-notif-header-row {
  width: 100%;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voz-notif-appname {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000;
}

.voz-notif-time {
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
}

.voz-notif-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1px;
  color: #1c1c1e;
}

.voz-notif-body-text {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .voz-phone-frame .voz-notif-appname,
[data-theme="dark"] .voz-phone-frame .voz-notif-title {
  color: #f5f5f7;
}

[data-theme="dark"] .voz-phone-frame .voz-notif-time,
[data-theme="dark"] .voz-phone-frame .voz-notif-body-text {
  color: rgba(255, 255, 255, 0.65);
}