/* Minimalist Phone Styling (macOS inspired) */

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --bg-dark: #0f172a;
  --window-bg: #1e293b;
  --header-bg: #334155;
  --traffic-red: #ff5f56;
  --traffic-yellow: #ffbd2e;
  --traffic-green: #27c93f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-ok: #22c55e;
  --accent-danger: #ef4444;
  --accent-blue: #3b82f6;
  --panel-light: #1e293b;
  --border-color: rgba(255, 255, 255, 0.1);
}

body.minimal-app {
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 45%, #020617 100%);
  height: 100vh;
  width: 100vw;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen, ubuntu, cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.telephone-window {
  width: 360px;
  max-width: 100%;
  height: 720px;
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

/* Header & Traffic Lights */
/* Header and Icons removed as per index.php change */
.btn-window-action {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.system-clock { display: none; }

.app-topbar {
  padding: 4px 10px 0 10px;
  min-height: 28px;
}

.app-title {
  display: none;
}

/* Status Capsules */
.status-capsules {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.1);
}

/* Status Capsules */
.badge-capsule {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 0.3px;
    height: 28px;
    transition: all 0.3s ease;
    
    /* Efeito Corrente Elétrica */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.badge-capsule::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%; /* Ligeiramente maior para cobrir melhor as quinas */
    height: 500%;
    /* Gradiente com a cor base fixa + raio de luz (highlight) */
    background: conic-gradient(
        from 0deg, 
        var(--status-color, #475569) 0deg 320deg, 
        var(--status-highlight, #94a3b8) 320deg 360deg
    );
    animation: electric-spin 3s linear infinite;
    z-index: -2;
    filter: blur(0.5px);
}

.badge-capsule::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #000;
    border-radius: 3px;
    z-index: -1;
}

.badge-capsule.online { 
    --status-color: #065f46; 
    --status-highlight: #065f46; 
    box-shadow: 0 0 1px rgba(16, 185, 129, 0.1); 
    animation: pulse-badge-green 5s infinite ease-in-out;
}
.badge-capsule.online::before {
    animation: none;
}

.badge-capsule.offline { 
    --status-color: #1e293b; 
    --status-highlight: #1e293b; 
    color: rgba(255, 255, 255, 0.4);
}
.badge-capsule.offline::before {
    animation: none; 
}

@keyframes pulse-badge-green {
    0% { box-shadow: 0 0 2px rgba(16, 185, 129, 0.15); }
    50% { box-shadow: 0 0 6px rgba(16, 185, 129, 0.45); }
    100% { box-shadow: 0 0 2px rgba(16, 185, 129, 0.15); }
}
.badge-capsule.failed { 
    --status-color: #7f1d1d; 
    --status-highlight: #ef4444; 
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.05); 
}
.badge-capsule.ringing { 
    --status-color: #92400e; 
    --status-highlight: #fbbf24; 
    animation: pulse-border 1.5s infinite; 
}

.badge-capsule.ringing::before {
    animation: electric-spin 1.5s linear infinite; 
}


.badge-capsule.connecting {
    --status-color: #facc15; 
    --status-highlight: #713f12; 
}
.badge-capsule.connecting::before {
    animation: electric-spin 0.8s linear infinite; 
}

@keyframes electric-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}



/* Novo: Botão de Power (Atalho Login) */
.btn-power-toggle {
    width: 27px;
    height: 27px;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
    padding: 0;
    outline: none !important;
    position: relative;
    z-index: 10;
}

.btn-power-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.btn-power-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 400%;
    background: conic-gradient(from 0deg, transparent 0 340deg, var(--status-highlight, #3b82f6) 340deg 360deg);
    opacity: 0;
    z-index: -2;
    transition: opacity 0.3s ease;
}

.btn-power-toggle:hover .btn-power-inner::before {
    animation: electric-spin 1s linear infinite;
    opacity: 1;
}

.btn-power-inner::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #000;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-power-toggle:hover .btn-power-inner::after {
    opacity: 1;
}

.btn-power-toggle:hover {
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(0,0,0,0.5);
    transform: scale(1.05);
    --status-highlight: #3b82f6;
}

.btn-power-toggle.connecting .btn-power-inner::before,
.btn-power-toggle.connecting .btn-power-inner::after {
    opacity: 0 !important;
    animation: none !important;
}

.btn-power-toggle.active {
    color: #10b981;
    border-color: #10b981;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

/* Desativa o giro e qualquer efeito interno quando logado */
.btn-power-toggle.active .btn-power-inner::before,
.btn-power-toggle.active .btn-power-inner::after {
    opacity: 0 !important;
    animation: none !important;
}

.btn-power-toggle:active {
    transform: scale(0.95);
}

.btn-hint {
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #000000;
  color: #ffffff;
  padding: 4px 11px;
  border-radius: 5px;
  font-size: 0.60rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* Tooltip Arrow */
.btn-hint::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}

.btn-power-toggle:hover .btn-hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* Modal Inativo no Histórico */
.history-overlay-inactive {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Dialer Row Layout (Horizontal & Compact) */
.dialer-wrapper {
    background: transparent;
}

.visor-stage {
    position: relative;
    padding-top: 16px;
}

.dialer-row {
    max-width: 380px;
    margin: 0 auto;
}

.dial-subtitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1;
    min-height: 12px;
    white-space: nowrap;
    z-index: 4;
}

.dial-timer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 19px;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1;
    min-height: 12px;
    white-space: nowrap;
    z-index: 4;
    pointer-events: none;
}

.dial-contact-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(50% + 22px);
    width: calc(100% - 88px);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 1;
    min-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 4;
    pointer-events: none;
}

/* Ocultar permanentemente o badge WSS — info redundante com o badge de status */
#wssStatusBadge {
    display: none !important;
}

.dial-input-box {
    background: #03061e;
    border: 1.5px solid rgba(34, 197, 94, 0.55);
    border-radius: 5px;
    position: relative;
    height: 120px;
    width: 100%;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.4s ease;
}
/* DESCONECTADO — borda vermelha + gradiente padrão azul-escuro */
.dial-input-box.state-disconnected {
    border-color: rgba(239, 68, 68, 0.75);
    background: radial-gradient(circle at 50% 50%, #030715 0%, #050918 60%, #080E23 100%);
}
/* REGISTRANDO — borda amarela + gradiente padrão azul-escuro */
.dial-input-box.state-connecting {
    border-color: rgba(229, 200, 69, 0.75);
    background: radial-gradient(circle at 50% 50%, #030715 0%, #050918 60%, #080E23 100%);
}
/* REGISTRADO — borda verde + gradiente padrão azul-escuro */
.dial-input-box.state-registered {
    border-color: rgba(34, 197, 94, 0.72);
    background: radial-gradient(circle at 50% 50%, #030715 0%, #050918 60%, #080E23 100%);
}
/* ORIGINANDO — borda amarela + gradiente amarelo pulsante */
.dial-input-box.state-calling {
    border-color: rgba(229, 200, 69, 0.85);
    background: radial-gradient(circle at 50% 50%, #c5a838 0%, #FFEB3B 55%, #FFF59D 100%);
    animation: visor-yellow-pulse 1s ease-in-out infinite alternate;
}
/* RECEBENDO — borda amarela + gradiente amarelo pulsante */
.dial-input-box.state-incoming {
    border-color: rgba(229, 200, 69, 0.85);
    background: radial-gradient(circle at 50% 50%, #c5a838 0%, #FFEB3B 55%, #FFF59D 100%);
    animation: visor-yellow-pulse 1s ease-in-out infinite alternate;
}
/* FALANDO — borda verde + gradiente verde pulsante */
.dial-input-box.state-connected {
    border-color: rgba(34, 197, 94, 0.95);
    background: radial-gradient(circle at 50% 50%, #5a8a2e 0%, #8BC34A 55%, #C5E1A5 100%);
    animation: visor-green-pulse 2.2s ease-in-out infinite alternate;
}
/* VÍDEO — borda azul, fundo transparente */
.dial-input-box.state-video {
    border-color: rgba(45, 108, 255, 0.80);
    background: transparent;
}

@keyframes visor-yellow-pulse {
    0%   { background: radial-gradient(circle at 50% 50%, #b89a30 0%, #FFF176 55%, #FFFDE7 100%); }
    100% { background: radial-gradient(circle at 50% 50%, #c5a838 0%, #FFEB3B 55%, #FFF59D 100%); }
}
@keyframes visor-green-pulse {
    0%   { background: radial-gradient(circle at 50% 50%, #4a7a25 0%, #9CCC65 55%, #DCEDC8 100%); }
    100% { background: radial-gradient(circle at 50% 50%, #3a6b1c 0%, #689F38 55%, #C5E1A5 100%); }
}

.dial-input-box input {
    font-size: 1.75rem !important;
    font-weight: 700;
    width: 100%;
    max-width: 100%;
    z-index: 6 !important;
    color: #ffffff !important;
    letter-spacing: -0.03em;
    line-height: 1;
    padding: 0 44px !important;
    text-align: center !important;
    /* Posição absoluta para não deslocar o visorPrompt no fluxo */
    position: absolute !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
}

.dial-input-box input::placeholder {
    color: transparent !important;
}

.dialer-action-btn {
    width: 26px;
    height: 26px;
    border-radius: 0;
    border: none;
    background: transparent !important;
    box-shadow: none;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 110 !important; /* Force priority over input and overlays */
    padding: 0;
}

.dialer-action-btn:hover {
    filter: brightness(1.15);
    transform: scale(1.06);
}

.dialer-action-btn:disabled {
    opacity: 0.2;
    filter: grayscale(1);
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

#destino::placeholder {
    color: transparent !important;
}

.dialer-action-btn.bg-primary {
    color: #4b74ff;
}

.dialer-action-btn.bg-success {
    color: #22c55e;
}

.dialer-action-btn.bg-danger {
    color: #ef4444;
}

.visor-top-meta {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    /* Desconectado: oculto */
    color: rgba(255, 255, 255, 0.35);
    opacity: 0;
    z-index: 7;
    line-height: 1;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Registrado: verde */
.dial-input-box.state-registered .visor-top-meta {
    opacity: 1;
    color: rgba(34, 197, 94, 0.95);
}

/* Em chamada (originando/recebendo/falando): preto sobre fundo claro */
.dial-input-box.state-calling    .visor-top-meta,
.dial-input-box.state-incoming   .visor-top-meta,
.dial-input-box.state-connected  .visor-top-meta {
    opacity: 1;
    color: #111111;
}

/* Vídeo: branco sobre fundo transparente */
.dial-input-box.state-video      .visor-top-meta {
    opacity: 1;
    color: #ffffff;
}

/* Registrando: amarelo */
.dial-input-box.state-connecting .visor-top-meta {
    opacity: 1;
    color: rgba(229, 200, 69, 0.80);
}

/* Texto do visor (input + prompt) — preto durante chamada, branco em vídeo/idle */
.dial-input-box.state-calling input,
.dial-input-box.state-incoming input,
.dial-input-box.state-connected input,
.dial-input-box.state-calling .visor-prompt,
.dial-input-box.state-incoming .visor-prompt,
.dial-input-box.state-connected .visor-prompt,
.dial-input-box.state-calling .dial-subtitle,
.dial-input-box.state-incoming .dial-subtitle,
.dial-input-box.state-connected .dial-subtitle,
.dial-input-box.state-calling .dial-timer,
.dial-input-box.state-incoming .dial-timer,
.dial-input-box.state-connected .dial-timer,
.dial-input-box.state-calling .dial-contact-name,
.dial-input-box.state-incoming .dial-contact-name,
.dial-input-box.state-connected .dial-contact-name {
    color: #111111 !important;
}

/* Ícones laterais — preto durante chamada para contraste */
.dial-input-box.state-calling .visor-side-icon,
.dial-input-box.state-incoming .visor-side-icon,
.dial-input-box.state-connected .visor-side-icon {
    color: rgba(17, 17, 17, 0.55) !important;
}

.visor-top-left {
    left: 10px;
}

.visor-top-right {
    right: 10px;
}

.visor-top-right i,
.visor-top-left i {
    font-size: 0.66rem;
}

.visor-power-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    min-width: 123px;
    height: 28px;
    padding: 0 14px;
    border-radius: 5px;
    /* DESCONECTADO: borda e texto vermelhos */
    border: 1.5px solid rgba(255, 68, 64, 0.85);
    background: rgba(16, 28, 49, 0.98);
    color: rgba(255, 68, 64, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 0 0 1px rgba(255, 68, 64, 0.10), 0 10px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.visor-power-badge:hover {
    filter: brightness(1.08);
}

.visor-power-icon {
    /* DESCONECTADO: vermelho */
    color: rgba(255, 68, 64, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: color 0.3s ease;
}

.visor-power-text {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    line-height: 1;
    white-space: nowrap;
}

/* REGISTRANDO... → amarelo */
.visor-power-badge.connecting {
    border-color: rgba(229, 200, 69, 0.85);
    color: rgba(229, 200, 69, 0.95);
    box-shadow: 0 0 0 1px rgba(229, 200, 69, 0.12), 0 10px 18px rgba(0, 0, 0, 0.18);
}
.visor-power-badge.connecting .visor-power-icon {
    color: rgba(229, 200, 69, 0.95);
}

/* LIGANDO / RECEBENDO → âmbar */
.visor-power-badge.calling {
    border-color: rgba(229, 200, 69, 0.95);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(229, 200, 69, 0.18), 0 10px 18px rgba(0, 0, 0, 0.18);
}
.visor-power-badge.calling .visor-power-icon {
    color: rgba(229, 200, 69, 0.95);
    animation: badge-icon-swing 0.42s ease-in-out infinite alternate;
}

/* EM CHAMADA → verde vivo */
.visor-power-badge.in-call {
    border-color: rgba(34, 197, 94, 0.95);
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25), 0 10px 18px rgba(0, 0, 0, 0.18);
}
.visor-power-badge.in-call .visor-power-icon {
    color: #22c55e;
    animation: badge-icon-swing 0.42s ease-in-out infinite alternate;
}

/* EM CHAMADA DE VÍDEO → azul */
.visor-power-badge.in-call-video {
    border-color: rgba(45, 108, 255, 0.95);
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(45, 108, 255, 0.25), 0 10px 18px rgba(0, 0, 0, 0.18);
}
.visor-power-badge.in-call-video .visor-power-icon {
    color: #4b74ff;
    animation: badge-icon-swing 0.42s ease-in-out infinite alternate;
}

@keyframes badge-icon-swing {
    0%   { transform: rotate(-16deg); }
    100% { transform: rotate(16deg); }
}

/* REGISTRADO → verde */
.visor-power-badge.active {
    border-color: rgba(34, 197, 94, 0.85);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12), 0 10px 18px rgba(0, 0, 0, 0.18);
}
.visor-power-badge.active .visor-power-icon {
    color: #22c55e;
}

.visor-prompt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Desconectado: ocupa largura total */
    width: calc(100% - 12px);
    text-align: center;
    color: rgba(255, 255, 255, 0.50);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.25s ease;
}

/* Registrado: recua para não cobrir os ícones laterais */
.dial-input-box.state-registered   .visor-prompt,
.dial-input-box.state-calling      .visor-prompt,
.dial-input-box.state-incoming     .visor-prompt,
.dial-input-box.state-connected    .visor-prompt,
.dial-input-box.state-video        .visor-prompt {
    width: calc(100% - 88px);
}

.dial-input-box.has-number .visor-prompt,
.dial-input-box.in-call .visor-prompt {
    display: none;
}

/* Call Dynamic Animations: Smooth Pulsing instead of Vibrate */
@keyframes pulsar-suave {
  0% { 
    transform: translateY(-50%) scale(1); 
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); 
  }
  70% { 
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% { 
    transform: translateY(-50%) scale(1); 
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@keyframes pulsar-azul {
  0% { 
    transform: translateY(-50%) scale(1); 
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); 
  }
  70% { 
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% { 
    transform: translateY(-50%) scale(1); 
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes footer-pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.36);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.pulsing-calling {
  animation: pulsar-suave 1.5s ease-out infinite !important;
  pointer-events: none !important;
}

.pulsar-alerta {
  animation: pulsar-suave 1.5s ease-out infinite !important;
  pointer-events: auto !important; /* Explicitly allow clicks */
}

.talking-state {
  background-color: #3b82f6 !important; 
  animation: pulsar-azul 2s ease-out infinite !important;
  pointer-events: none !important;
}

.talking-state i::before {
    content: "\f611" !important; /* bi-volume-up-fill (Bootstrap icon code) */
    font-family: "bootstrap-icons" !important;
}

/* Alternative: bi-waveform or similar if using custom glyphs, 
   for now we use bi-volume-up-fill via JS or CSS content swap */

/* PWA Standalone Mode Adjustments (Native Feel) */
@media (display-mode: standalone) {
  body.minimal-app {
    display: block; 
    background: var(--window-bg);
    overflow: hidden; /* Avoid body scroll */
    user-select: none; /* No text cursor */
    -webkit-user-select: none;
  }
  
  .telephone-window {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0;
    margin: 0;
    max-width: none;
    max-height: none;
    border: none;
    box-shadow: none;
  }

  /* Make header draggable like a native window title bar */
  .window-header {
      -webkit-app-region: drag;
      cursor: default;
      height: 38px;
      padding-top: 4px;
  }
  
  /* Make buttons clickable again (exclude from drag) */
  .window-header button,
  .window-header .btn-close-settings {
      -webkit-app-region: no-drag;
  }

  .history-section {
      flex-grow: 1;
      overflow-y: auto;
  }
}

/* Video Overlay Styles */
.video-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9998;
}

.video-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 480px;
    background: #000;
    z-index: 9999;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remote-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local-video-pip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 160px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    background: #222;
    z-index: 10000;
}

.video-controls-bottom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
}

.btn-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
#btnCall { background: rgba(39, 201, 63, 0.2); color: var(--traffic-green); border: 1px solid rgba(39, 201, 63, 0.3); }
#btnHangup { background: rgba(239, 68, 68, 0.2); color: var(--traffic-red); border: 1px solid rgba(239, 68, 68, 0.3); }

/* Hover removido — botões agora no footer, sem efeito de escala */

.history-section {
    background: transparent;
}

.history-tabs-header {
  background: transparent;
  padding: 6px 8px 4px;
  display: flex;
  gap: 6px;
}

.history-tab-btn {
  flex: 1;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 10px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0;
  font-weight: 700;
  transition: all 0.2s ease;
  outline: none !important;
  letter-spacing: 0.3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: none;
}

.tab-icon-left, .tab-icon-right {
  position: absolute;
  font-size: 0.75rem;
  opacity: 0.8;
  color: #ffffff;
}
.tab-icon-left { left: 10px; }
.tab-icon-right { right: 10px; }

.history-tab-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.02);
}

.history-tab-btn:hover:not(.active) {
  color: #fff;
}

.history-card-wrapper {
  background: transparent;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}

.history-scroll-inner {
  height: 100%;
  overflow-y: auto;
  padding: 4px 8px; /* Adjustment for consistency */
}

.history-scroll-inner::-webkit-scrollbar { width: 1px; }
.history-scroll-inner::-webkit-scrollbar-thumb { background: #000; border-radius: 10px; }
.history-scroll-inner::-webkit-scrollbar-thumb:hover { background: #000; }

.history-list {
    display: flex;
    flex-direction: column;
}

.history-card {
  display: grid;
  grid-template-columns: 16px 60px 18px 18px minmax(0, 1fr) 46px 34px 18px;
  align-items: center;
  column-gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 5px;
  min-height: 44px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.history-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.history-card-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.43rem;
  flex-shrink: 0;
  margin-left: 1px;
}

.history-card-icon.type-video { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.history-card-icon.type-audio { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.history-card-icon.missed { color: #ef4444 !important; background: rgba(239, 68, 68, 0.1) !important; }

.history-card-time {
  font-size: 0.49rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  width: 56px;
}

.history-card-number {
  justify-self: start;
  text-align: left;
  font-weight: 700;
  font-size: 0.58rem;
  color: #fff;
  letter-spacing: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1;
}

.history-card-cost {
  font-size: 0.52rem;
  font-weight: 700;
  color: #34d399;
  width: 46px;
  text-align: right;
  flex-shrink: 0;
}

.history-card-duration {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.52rem;
  font-family: monospace;
  flex-shrink: 0;
  width: 32px;
  text-align: right;
  margin-right: 0;
}

.history-card-detail {
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.history-card-detail:hover {
  color: #60a5fa;
  transform: scale(1.08);
}

.history-card-detail-placeholder {
  opacity: 0.12;
  cursor: default;
}

.history-card-recording {
  color: rgba(74, 222, 128, 0.88);
}

.history-card-recording:hover {
  color: #4ade80;
}

.history-card-transcription {
  color: rgba(96, 165, 250, 0.88);
}

.history-card-transcription:hover {
  color: #60a5fa;
}

.call-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10030;
}

.call-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.call-detail-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 15, 28, 0.98));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.call-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.call-detail-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.call-detail-subtitle {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  margin-top: 2px;
}

.call-detail-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-detail-body {
  padding: 8px 16px 16px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.call-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.call-detail-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  min-width: 86px;
}

.call-detail-value {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.call-detail-loading {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  padding: 18px 0;
  text-align: center;
}

.recording-dialog {
  width: min(340px, calc(100vw - 32px));
}

.recording-body {
  padding: 18px 16px 20px;
}

.recording-player {
  width: 100%;
  height: 40px;
  filter: saturate(0.9) brightness(0.96);
}

.transcription-panel {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.transcription-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.transcription-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Incoming Call Overlay */
.incoming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.incoming-card {
    width: 280px;
    background: var(--header-bg);
    border-radius: 4px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

/* Settings Overlay - Cinematic Smoothness */
.settings-panel {
    position: absolute;
    top: 0;
    left: 20px;
    width: calc(100% - 40px);
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    flex-direction: column;
    border-radius: 6px; /* Ajuste para 6px solicitado */
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-header {
    height: 48px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.settings-body {
    flex: 1;
    overflow: hidden !important; /* Remoção total de scroll conforme solicitado */
    padding: 16px 14px 1px;
}

.settings-footer {
    flex-shrink: 0;
    padding-bottom: 20px;
    background: transparent;
}

/* Hide scrollbar completely */
.settings-body::-webkit-scrollbar {
    display: none !important;
}
.settings-body::-webkit-scrollbar {
    width: 2px;
}
.settings-body::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}
.settings-body::-webkit-scrollbar-track {
    background: transparent;
}

.settings-panel h5 {
    font-size: 0.85rem;
    letter-spacing: -0.2px;
}

/* Section title styles consolidated below in floating-legend section */

.settings-panel label {
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    display: block;
    margin-bottom: 4px;
    text-transform: none; /* Changed to none for sentence case (HTML) */
    letter-spacing: 0.4px;
}

.settings-panel .form-control-sm, 
.settings-panel .form-select-sm {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    height: 30px;
    font-size: 0.68rem;
    padding: 0 10px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.settings-panel .form-control-sm:focus,
.settings-panel .form-select-sm:focus {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05) !important;
    outline: none;
}

.settings-panel .form-check-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    width: 9px !important;
    height: 9px !important;
}

.server-card .form-check-input {
    width: 10px !important;
    height: 10px !important;
    flex-shrink: 0;
    border-radius: 2px !important;
}

.settings-panel .form-check-input:checked {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    background-image: none !important; /* Remove the blue check icon if it lingers */
}

/* Custom check icon as a white dot when checked */
.settings-panel .form-check-input:checked::after {
    display: none;
}

.settings-panel .form-check-label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.54rem !important;
    text-transform: none !important;
    margin: 0 !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.settings-panel .form-check-label:hover {
    color: #ffffff !important;
}

.settings-panel hr {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 20px 0;
    opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.1s ease;
}
.cursor-pointer:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
.settings-group {
    position: relative;
    margin-top: 24px;
}

.settings-group:first-of-type {
    margin-top: 14px;
}

.settings-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 14px;
    transition: all 0.3s ease;
}

.settings-card:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

.settings-panel h6.section-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff !important; /* Branco 100% conforme solicitado */
    font-size: 0.65rem; 
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
    opacity: 1;
    z-index: 10;
    
    /* Geometria Refinada: Fundo preto e raio de 5px */
    background: #000000; /* Fundo preto solicitado */
    padding: 3px 11px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    
    width: auto;
    white-space: nowrap;
}

.cursor-pointer:active {
    transform: scale(0.95);
}

/* Specific buttons inside settings */
#btnRegister.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


#btnUnregister.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
}

#btnUnregister.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

#btnNotify {
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.05);
}

#btnNotify:hover {
    background: rgba(14, 165, 233, 0.15);
}

#tabSectionSettings {
    padding: 12px 14px 16px !important;
}

.settings-tab-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-profile-card,
.settings-section-card,
.settings-tab-card {
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.96) 0%, rgba(35, 35, 35, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.settings-profile-card {
    padding: 16px 18px;
}

.settings-profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-profile-row + .settings-profile-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-profile-row-muted {
    color: rgba(255, 255, 255, 0.74);
}

.settings-profile-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.56);
}

.settings-profile-copy {
    min-width: 0;
}

.settings-profile-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-word;
}

.settings-profile-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.settings-section-card {
    padding: 14px 18px;
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
}

.settings-section-title i {
    color: rgba(255, 255, 255, 0.72);
}

.settings-nav-row {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
}

.settings-nav-row-static {
    cursor: default;
}

.settings-nav-main,
.settings-nav-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-nav-main {
    font-size: 0.9rem;
    font-weight: 700;
}

.settings-nav-main i,
.settings-nav-side i {
    color: rgba(255, 255, 255, 0.6);
}

.settings-nav-value {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.settings-tab-card {
    padding: 16px;
}

.settings-tab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.settings-tab-labels {
    min-width: 0;
}

.settings-tab-labels label,
.settings-tab-stack label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #f8fafc;
}

.settings-tab-labels p,
.settings-tab-help {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.45;
    color: rgba(203, 213, 225, 0.72);
}

.settings-tab-button {
    flex-shrink: 0;
    min-width: 112px;
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.settings-tab-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.settings-tab-button:disabled {
    opacity: 1;
    cursor: default;
    transform: none;
}

.settings-tab-button.btn-outline-info {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.settings-tab-button.btn-outline-success {
    border-color: rgba(34, 197, 94, 0.36);
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

.settings-tab-button.btn-outline-secondary {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(148, 163, 184, 0.08);
    color: rgba(226, 232, 240, 0.78);
}

.settings-tab-divider {
    height: 1px;
    margin: 14px 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
}

.settings-tab-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-tab-select {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.88);
    color: #f8fafc;
    font-size: 0.84rem;
    padding: 0 14px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.settings-tab-select:focus {
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.settings-usage-toggle {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
}

.settings-usage-chevron {
    color: rgba(255, 255, 255, 0.62);
    transition: transform 0.2s ease;
}

.settings-usage-toggle[aria-expanded="false"] .settings-usage-chevron {
    transform: rotate(-90deg);
}

.settings-usage-body {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-usage-body.is-collapsed {
    display: none;
}

.settings-usage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.settings-usage-row span:last-child {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-align: right;
}

.settings-logout-btn {
    width: 100%;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.settings-logout-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 420px) {
    .settings-tab-row {
        flex-direction: column;
        align-items: stretch;
    }

    .settings-tab-button {
        width: 100%;
    }
}
.history-section::-webkit-scrollbar {
    width: 6px;
}
.history-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.history-section::-webkit-scrollbar-track {
    background: transparent;
}
/* ANIMAÇÃO DA ROLDANA DE CONFIGURAÇÕES */
@keyframes gear-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#btnOpenSettings:hover i {
  display: inline-block;
  animation: icon-swing 0.8s ease-in-out infinite alternate;
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

#btnToggleDialPad:hover i {
  display: inline-block;
  color: #fff !important;
}

#btnToggleDialPad:hover i.bi-grid-3x3-gap-fill {
  animation: icon-swing 0.8s ease-in-out infinite alternate;
}

#btnToggleDialPad:hover i.bi-view-list {
  animation: icon-swing 0.8s ease-in-out infinite alternate;
}

@keyframes icon-swing {
  from { transform: rotate(-8deg) scale(1.1); }
  to { transform: rotate(8deg) scale(1.1); }
}

/* Numeric Pad (Dialpad) Styling */
.numeric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 18px;
    justify-items: center;
    max-width: 320px;
    margin: 0 auto;
}

.num-key {
    width: 82px;
    height: 72px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none !important;
}

.num-key:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.num-key:active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(0.9);
}

.num-sub {
    font-size: 0.52rem;
    font-weight: 700;
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: -1px;
}

.dialpad-card-wrapper {
    background: transparent;
    border: none;
    border-radius: 4px;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dialpad-btn-clear {
    position: absolute;
    bottom: 0px;
    right: 3px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--traffic-red, #ff5f56);
    opacity: 0.5;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
}

.dialpad-btn-clear:hover {
    opacity: 1;
    color: #ff5f56;
    transform: scale(1.15);
}

/* =====================================================
   APP TITLE VISIBLE (Topbar)
   ===================================================== */

.app-title-visible {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    padding-top: 5px;
    line-height: 1;
    text-align: center;
}

/* =====================================================
   TAB CONTENT AREA
   ===================================================== */

.tab-content-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0 20px;
}

.tab-section {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tab-section.active {
    display: flex;
}

/* =====================================================
   MAIN TAB BAR (Bottom Navigation)
   ===================================================== */

.main-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #0D1535;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    height: 43px;
    padding: 0;
    margin: 10px 20px 0;
    width: calc(100% - 40px);
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

.tab-nav-btn {
    flex: 0 0 auto;
    width: 52px;
    height: 34px;
    background: transparent;
    border: none;
    border-radius: 9px;
    outline: none !important;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
    padding: 0;
    line-height: 1;
}

.tab-nav-btn span {
    display: none;
}

.tab-nav-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.tab-nav-btn.active {
    color: #3b82f6;
    background: none;
    position: relative;
}

.tab-nav-btn.active::before {
    content: '';
    position: absolute;
    inset: 0 7.5%;
    background: rgba(59, 130, 246, 0.18);
    border-radius: 5px;
}

.tab-nav-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.65);
}

/* =====================================================
   ACTIVE CALL BAR (Mute / Speaker / DTMF)
   ===================================================== */

.active-call-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    height: 44px;
    padding: 0 8px;
}

.call-ctrl-btn {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    outline: none !important;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.44rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.call-ctrl-btn i {
    font-size: 0.95rem;
    line-height: 1;
}

.call-ctrl-btn span {
    line-height: 1;
}

.call-ctrl-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

.call-ctrl-btn.active {
    color: #3b82f6;
}

/* =====================================================
   VIDEO OVERLAY CONTROLS (4-button row)
   ===================================================== */

.video-ctrl-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none !important;
    margin: 0 6px;
}

.video-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.video-ctrl-btn.active {
    background: rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.6);
    color: #60a5fa;
}

.video-ctrl-hangup {
    background: rgba(239, 68, 68, 0.75) !important;
    border-color: rgba(239, 68, 68, 0.9) !important;
    color: #fff !important;
}

.video-ctrl-hangup:hover {
    background: rgba(239, 68, 68, 1) !important;
}

.video-controls-bottom {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* =====================================================
   SECURITY / DND TAB
   ===================================================== */

.security-section {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 8px;
}

.security-section::-webkit-scrollbar { width: 2px; }
.security-section::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

.security-group {
    position: relative;
    margin-top: 22px;
}

.security-group:first-of-type {
    margin-top: 14px;
}

.security-section-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0;
    background: #000;
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
}

.security-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 20px 12px 12px;
}

.security-label {
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}

.security-select,
.security-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #f1f5f9;
    font-size: 0.68rem;
    padding: 6px 10px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    resize: vertical;
}

.security-select {
    height: 30px;
    padding: 0 10px;
    resize: none;
}

.security-select:focus,
.security-textarea:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(0, 0, 0, 0.6);
}

.security-hint {
    font-size: 0.50rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 5px 0 0;
    line-height: 1.4;
}

.security-btn-save {
    margin-top: 8px;
    width: 100%;
    height: 28px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    color: #60a5fa;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none !important;
}

.security-btn-save:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

/* =====================================================
   SERVER TAB
   ===================================================== */

.server-section {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 0;
}

.server-section::-webkit-scrollbar { width: 2px; }
.server-section::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

.server-group {
    position: relative;
    margin-top: 15px;
}

.server-group:first-of-type {
    margin-top: 14px;
}

.server-section-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0;
    background: #000;
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
}

.server-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px 12px 2px;
}

.server-label {
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}

.server-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #f1f5f9;
    font-size: 0.68rem;
    padding: 0 10px;
    height: 30px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.server-input:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(0, 0, 0, 0.6);
}

.server-hint {
    font-size: 0.50rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 5px 0 0;
    line-height: 1.4;
}

.server-footer {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    justify-content: center;
}

.server-btn {
    flex: 0 1 26.7%;
    height: 28px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none !important;
    border: 1px solid;
}

.server-btn-clear {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.server-btn-clear:hover {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.5);
}

.server-btn-save {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.server-btn-save:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.server-btn-connect {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.server-btn-connect:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.server-version {
    text-align: center;
    font-size: 0.48rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    letter-spacing: 0.4px;
}

/* =====================================================
   CONTACTS TAB
   ===================================================== */

.contacts-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.contacts-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacts-search-wrap {
    position: relative;
    flex: 1;
}

.contacts-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.72rem;
}

.contacts-search-input {
    width: 100%;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    font-size: 0.74rem;
    padding: 0 12px 0 34px;
    outline: none;
}

.contacts-search-input:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.contacts-refresh-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(15, 23, 42, 0.9);
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contacts-refresh-btn:hover {
    transform: rotate(20deg);
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(30, 41, 59, 0.96);
}

.contacts-summary {
    padding: 0 2px;
    font-size: 0.64rem;
    color: rgba(191, 219, 254, 0.72);
    letter-spacing: 0.02em;
}

.contacts-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 2px;
}

.contacts-list::-webkit-scrollbar {
    width: 5px;
}

.contacts-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.22);
    border-radius: 999px;
}

.contact-card {
    width: 100%;
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(9, 14, 28, 0.98) 100%);
    padding: 12px;
    text-align: left;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.contact-card:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.35);
    background: linear-gradient(180deg, rgba(18, 30, 57, 0.96) 0%, rgba(11, 17, 34, 1) 100%);
}

.contact-card:disabled {
    opacity: 0.58;
    cursor: default;
    transform: none;
}

.contact-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-avatar {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92) 0%, rgba(14, 165, 233, 0.92) 100%);
    color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.contact-main {
    flex: 1;
    min-width: 0;
}

.contact-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.contact-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-favorite {
    color: #fbbf24;
    font-size: 0.68rem;
    flex-shrink: 0;
}

.contact-phones,
.contact-email,
.contact-groups {
    font-size: 0.64rem;
    line-height: 1.45;
}

.contact-phones {
    color: rgba(191, 219, 254, 0.86);
}

.contact-email {
    color: rgba(203, 213, 225, 0.72);
}

.contact-groups {
    color: rgba(96, 165, 250, 0.72);
}

.contact-call-icon {
    color: #22c55e;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 3px;
}

.contacts-empty-state {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.42);
    color: rgba(203, 213, 225, 0.55);
    text-align: center;
}

.contacts-empty-state i {
    font-size: 1.6rem;
}

.contacts-empty-state p {
    margin: 0;
    font-size: 0.7rem;
}

/* =====================================================
   FOOTER ACTION BAR (3 wide buttons - Android style)
   ===================================================== */

.footer-action-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 6px 12px 4px;
    margin-bottom: 20px;
    flex-shrink: 0;
    background: transparent;
}

.debug-bar {
    text-align: center;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.22);
    padding: 0 0 5px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.footer-slot {
    flex: 0 0 auto;
    position: relative;
    display: flex;
}

.footer-wide-btn {
    width: 82px;
    height: 48px;
    border-radius: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    cursor: pointer;
    outline: none !important;
    transition: filter 0.15s ease, transform 0.12s ease;
}

.footer-wide-btn:active {
    transform: scale(0.94);
    filter: brightness(0.85);
}

.footer-wide-btn.f-video       { background: #2D6CFF; color: #fff; }
.footer-wide-btn.f-backspace         { background: #B8A020; color: #3C3200; }
.footer-wide-btn.f-backspace:disabled { background: #171A20 !important; color: rgba(255,255,255,0.2) !important; cursor: default; }
.footer-wide-btn.f-call        { background: #35C85B; color: #fff; }
.footer-wide-btn.f-hangup      { background: #FF4740; color: #fff; }
.footer-wide-btn.f-answer      { background: #35C85B; color: #fff; }
.footer-wide-btn.f-answer-video { background: #2D6CFF; color: #fff; }
.footer-wide-btn.f-inactive    { background: #171A20; color: rgba(255,255,255,0.2); cursor: default; pointer-events: none; }
.footer-wide-btn.f-mute        { background: #2A3550; color: rgba(255,255,255,0.75); }
.footer-wide-btn.f-mute.active { background: #FF4740; color: #fff; }
.footer-wide-btn.f-speaker     { background: #2A3550; color: rgba(255,255,255,0.75); }
.footer-wide-btn.f-speaker.active { background: #2D6CFF; color: #fff; }

/* pulsing-calling / talking-state overrides for footer */
.footer-wide-btn.pulsing-calling { animation: footer-pulse-green 1.5s ease-out infinite !important; }
.footer-wide-btn.pulsar-alerta { animation: footer-pulse-green 1.5s ease-out infinite !important; }
.footer-wide-btn.talking-state   { background: #2A3550 !important; animation: none !important; }

/* Botões desabilitados (disabled via JS quando offline) */
.footer-wide-btn:disabled {
    opacity: 0.35;
    filter: grayscale(0.5);
    cursor: default;
    pointer-events: none;
}

/* =====================================================
   VISOR DECORATIVE SIDE ICONS + SMALL BUTTONS
   ===================================================== */

.visor-side-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.28);
    font-size: 1.05rem;
    z-index: 8;
    pointer-events: none;
    /* Oculto por padrão — só aparece quando registrado */
    opacity: 0;
    transition: opacity 0.25s ease;
}

.visor-icon-left  { left: 14px; }
.visor-icon-right { right: 14px; }

/* Mostrar ícones e botões apenas quando registrado (state-registered ou acima) */
.dial-input-box.state-registered   .visor-side-icon,
.dial-input-box.state-calling      .visor-side-icon,
.dial-input-box.state-incoming     .visor-side-icon,
.dial-input-box.state-connected    .visor-side-icon,
.dial-input-box.state-video        .visor-side-icon {
    opacity: 1;
}

/* Small visor corner buttons */
.visor-small-btn {
    position: absolute;
    bottom: 8px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
    padding: 0;
    outline: none !important;
    font-size: 1.05rem;
    /* Oculto por padrão — só aparece quando registrado */
    opacity: 0;
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.25s ease;
}

.visor-small-btn:active { transform: scale(0.88); }
.visor-small-btn.left  { left: 10px; }
.visor-small-btn.right { right: 10px; }

.visor-star-btn  { color: #f59e0b; }
.visor-call-btn  { color: #35C85B; }
.visor-red-btn   { color: #FF4740; }

/* Mostrar botões pequenos apenas quando registrado */
.dial-input-box.state-registered   .visor-small-btn,
.dial-input-box.state-calling      .visor-small-btn,
.dial-input-box.state-incoming     .visor-small-btn,
.dial-input-box.state-connected    .visor-small-btn,
.dial-input-box.state-video        .visor-small-btn {
    opacity: 1;
    pointer-events: auto;
}

/* =====================================================
   VERIFY / DEBUG TAB PLACEHOLDER
   ===================================================== */

.verify-section {
    height: 100%;
    overflow-y: auto;
    padding: 9px;
}

.verify-info-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.verify-info-title {
    font-size: 0.58rem;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.verify-info-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.6rem;
}

.verify-info-row:last-child { border-bottom: none; }
.verify-info-label { color: rgba(255,255,255,0.4); }
.verify-info-value { color: rgba(255,255,255,0.8); font-weight: 600; font-family: monospace; }
