/* ========================================================================
   voice.css, authentic iOS call screen + LIGHT Wonderful Voice Console
   ======================================================================== */

.voice-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 70px;
  padding: 80px 40px 60px;
}

/* ====================================================================
   iOS CALL SCREEN
   Black background, no big avatar circle, flat SF-symbol icons,
   3x2 button grid with end-call below.
   ==================================================================== */

.phone-screen.ios-call {
  background: #000;
  color: #fff;
  display: flex; flex-direction: column;
  position: relative;
}

.ios-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px 6px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  height: 50px;
  flex-shrink: 0;
}
.ios-status .left { font-feature-settings: "tnum"; }
.ios-status .right { display: flex; align-items: center; gap: 5px; }

.ios-call-body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 30px 28px 28px;
  position: relative;
}

.ios-caller {
  text-align: center;
  margin-top: 70px;
}
.ios-name {
  font-size: 36px; font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}
.ios-sub {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 17px; font-weight: 400;
  color: rgba(255,255,255,0.78);
  font-feature-settings: "tnum";
}
.ios-sub .ios-dur { font-feature-settings: "tnum"; letter-spacing: 0.01em; }
.ios-sub .ios-dot { opacity: 0.6; }

.ios-verify {
  margin: 18px auto 0;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(48, 209, 88, 0.18);
  color: #6EE2A8;
  font-size: 12px; font-weight: 500;
  align-self: center;
}
.ios-verify--warn {
  background: rgba(255, 159, 10, 0.18);
  color: #FFD68A;
}

.ios-call-grid {
  margin: auto auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 64px);
  grid-template-rows: repeat(2, auto);
  column-gap: 36px;
  row-gap: 24px;
  justify-content: center;
}
.ios-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  cursor: pointer;
}
.ios-btn-circle {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: background 0.15s;
}
.ios-btn-circle--active {
  background: #fff;
  color: #000;
}
.ios-btn-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.ios-end-wrap {
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.ios-end-btn {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: #FF3B30;
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,59,48,0.35);
}

.ios-home-indicator {
  width: 130px; height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  margin: 0 auto;
}

/* ====================================================================
   LIGHT WONDERFUL VOICE CONSOLE
   ==================================================================== */

.voice-console-light {
  width: 640px; height: 880px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e6e6e8;
  color: #14161B;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 22, 27, 0.08);
  animation-delay: 0.15s;
}

.vcl-head {
  padding: 16px 22px;
  border-bottom: 1px solid #ececef;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
}
.vcl-head-title {
  font-size: 13px; font-weight: 600; color: #14161B;
}
.vcl-head-sub {
  font-size: 11px; color: #6B6F76;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 2px;
}
.vcl-live {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  background: rgba(215, 25, 33, 0.08);
  border: 1px solid rgba(215, 25, 33, 0.25);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: #B71019;
  letter-spacing: 0.04em;
}
.vcl-live-dot {
  width: 6px; height: 6px;
  background: #D71921; border-radius: 999px;
  animation: blink 1.4s infinite;
}

.vcl-secure {
  padding: 10px 22px;
  background: #ECF8F1;
  border-bottom: 1px solid #D6EFE0;
  font-size: 12px; color: #1B6E40;
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
}

.vcl-feed {
  flex: 1; overflow-y: auto;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 14px;
  background: #fafafb;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.18) transparent;
}
.vcl-feed::-webkit-scrollbar { width: 6px; }
.vcl-feed::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }
.vcl-feed::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.30); }
.vcl-feed::-webkit-scrollbar-track { background: transparent; }

.vcl-row {
  display: flex; flex-direction: column; gap: 4px;
}
.vcl-meta {
  display: flex; align-items: baseline; gap: 8px;
}
.vcl-who {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B6F76;
}
.vcl-t {
  font-size: 10px;
  color: #9aa0a8;
  font-feature-settings: "tnum";
}
.vcl-body {
  font-size: 13px; line-height: 1.5;
  padding: 9px 13px;
  border-radius: 10px;
  max-width: 92%;
  border: 1px solid transparent;
}

.vcl-row--rep .vcl-who { color: #4A6FE3; }
.vcl-row--rep .vcl-body {
  background: #ffffff;
  border-color: #e6e6e8;
  color: #14161B;
}

.vcl-row--sarah { align-items: flex-end; }
.vcl-row--sarah .vcl-meta { justify-content: flex-end; }
.vcl-row--sarah .vcl-who { color: #B71019; }
.vcl-row--sarah .vcl-body {
  background: #14161B;
  color: #fff;
  border-color: #14161B;
}

.vcl-row--system {
  align-items: stretch;
}
.vcl-row--system .vcl-body {
  background: #FFF8EC;
  border: 1px solid #F1E3C2;
  color: #6F5B17;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  max-width: 100%;
}

.vcl-typing { padding: 12px 14px; }
.typing-dots--light span {
  background: #6B6F76;
}

.vcl-foot {
  border-top: 1px solid #ececef;
  padding: 12px 22px;
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; color: #4a4f57;
  background: #fff;
}
.vcl-foot strong { color: #14161B; font-weight: 600; }
.vcl-foot-stats {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.vcl-sep {
  width: 1px; height: 12px;
  background: #d4d6da;
}
.vcl-wave {
  display: flex; align-items: center; gap: 2px;
}
.vcl-wave span {
  display: block;
  width: 3px;
  background: #4A6FE3;
  border-radius: 2px;
  animation: vclWave 1.1s infinite ease-in-out;
}
.vcl-wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
.vcl-wave span:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.vcl-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.vcl-wave span:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.vcl-wave span:nth-child(5) { height: 7px; animation-delay: 0.4s; }
@keyframes vclWave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.4); }
}

/* ====================================================================
   iOS INCOMING call (Emirates calling Lukas)
   Tap-call scene: Hala places the outbound, Lukas's phone rings.
   ==================================================================== */

.ios-call.ios-incoming .ios-call-body {
  padding: 18px 24px 24px;
  justify-content: space-between;
}

.ios-caller--incoming {
  margin-top: 36px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.ios-mini-lbl {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 22px;
  font-weight: 400;
}
.ios-caller-logo {
  width: 76px; height: 76px;
  border-radius: 999px;
  background: var(--ek-red, #D71921);
  display: grid; place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(215,25,33,0.35);
}
.ios-name--biz {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 32px; font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.ios-caller--incoming .ios-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

/* Lower half: shortcuts + big buttons */
.ios-incoming-actions {
  display: flex; flex-direction: column;
  gap: 26px;
  margin-top: auto;
  padding-bottom: 12px;
}

.ios-shortcuts {
  display: flex; justify-content: space-around;
  align-items: flex-start;
  transition: opacity 0.3s;
}
.ios-sc {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
}
.ios-sc-circle {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  color: #fff;
}
.ios-sc-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.005em;
}

.ios-big-btns {
  display: flex; justify-content: space-around;
  align-items: flex-start;
  padding: 0 4px;
}
.ios-big {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  cursor: pointer;
}
.ios-big > svg {
  width: 70px; height: 70px;
  border-radius: 999px;
  display: block;
  padding: 18px;
  box-sizing: border-box;
}
.ios-big--decline > svg {
  background: #FF3B30;
  box-shadow: 0 6px 20px rgba(255,59,48,0.4);
}
.ios-big--accept > svg {
  background: #34C759;
  box-shadow: 0 6px 20px rgba(52,199,89,0.42);
}
.ios-big-lbl {
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.005em;
}
.ios-big--accept.is-ringing > svg {
  animation: iosAccPulse 1.6s ease-out infinite;
}
@keyframes iosAccPulse {
  0%   { box-shadow: 0 6px 20px rgba(52,199,89,0.42), 0 0 0 0 rgba(52,199,89,0.55); }
  70%  { box-shadow: 0 6px 20px rgba(52,199,89,0.42), 0 0 0 16px rgba(52,199,89,0); }
  100% { box-shadow: 0 6px 20px rgba(52,199,89,0.42), 0 0 0 0 rgba(52,199,89,0); }
}
.ios-big--accept.is-tapped > svg {
  transform: scale(0.92);
  transition: transform 0.2s;
  animation: none;
}

/* ====================================================================
   TAP-TO-CALL, calling state pulse + context-handoff card
   ==================================================================== */

.tc-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #6EE2A8;
  box-shadow: 0 0 0 0 rgba(110,226,168,0.6);
  animation: tcPulse 1.3s infinite ease-out;
  display: inline-block;
}
@keyframes tcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(110,226,168,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(110,226,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(110,226,168,0); }
}

.tc-handoff {
  margin-top: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 12px;
}
.tc-handoff-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.tc-handoff-state {
  font-size: 11px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.tc-state-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--w-blue);
  animation: tcPulse 1.4s infinite ease-out;
  box-shadow: 0 0 0 0 rgba(74,111,227,0.55);
}
.tc-state-dot[data-step="2"] {
  background: var(--good);
  animation: none;
  box-shadow: 0 0 0 3px rgba(27,138,90,0.18);
}

.tc-handoff-list {
  display: flex; flex-direction: column;
}
.tc-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.tc-row:first-child { border-top: 0; }
.tc-row.is-on {
  opacity: 1;
  transform: none;
}
.tc-check {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: rgba(27,138,90,0.12);
  color: var(--good);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.tc-row-text { flex: 1; }
.tc-k {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.tc-v {
  font-size: 11.5px; color: var(--ink-3);
  margin-top: 2px;
}
