#softphone-topbar {
  flex-wrap: nowrap;
  align-items: center;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 8px;
  gap: 8px;
  overflow: visible;
  box-sizing: border-box;
}

#softphone-chrome {
  position: relative;
  z-index: 1100;
}

#softphone-topbar #mic-alert {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  flex: none;
  color: #f1c40f;
  background: transparent;
}

#softphone-topbar #mic-alert .mic-alert-icon {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
}

#softphone-topbar #mic-alert .mic-alert-icon path {
  fill: none;
  stroke: #f1c40f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#softphone-topbar #mic-alert .mic-alert-icon circle {
  fill: #f1c40f;
}

#softphone-topbar #mic-alert:hover {
  background: rgba(241, 196, 15, 0.16);
}

#softphone-topbar #mic-alert[hidden] {
  display: none !important;
}

#softphone-topbar #hamburger-btn {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  flex: none;
  color: #fff;
}

#agent-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-width: 0;
}

#agent-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #39B6FE;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

#agent-extension-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.reg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7f8c8d;
  flex: none;
}

.reg-dot--on {
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.28);
}

.reg-dot--off {
  background: #7f8c8d;
}

.reg-dot--sip {
  background: #39B6FE;
}

#user-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.status-container {
  min-width: 0;
  gap: 8px;
}

#status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7f8c8d;
  flex: none;
}

.status-dot--ok,
.status-dot--chat {
  background: #2ecc71;
}

.status-dot--pause {
  background: #f39c12;
}

.status-dot--call {
  background: #3498db;
}

.status-dot--busy {
  background: #e74c3c;
}

.status-dot--off {
  background: #7f8c8d;
}

#status-info {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  max-width: 280px;
}

#call-peer {
  color: #d6eaf8;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#call-peer[hidden] {
  display: none !important;
}

.sp-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
  color: inherit;
}

#softphone-topbar .softphone-btn,
#incoming-strip .softphone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: none;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  border-radius: 6px;
}

#softphone-topbar:not(.ramal-sip) #btn-mute,
#softphone-topbar:not(.ramal-sip) #btn-transferir {
  display: inline-flex !important;
}

#softphone-topbar.ramal-sip #btn-mute,
#softphone-topbar.ramal-sip #btn-transferir,
#softphone-topbar.ramal-sip #btn-tela,
#softphone-topbar.ramal-sip #mic-alert {
  display: none !important;
}

#softphone-topbar #btn-transferir {
  background: #1abc9c;
  color: #fff;
}

#softphone-topbar #btn-transferir:hover {
  background: #16a085;
}

#softphone-topbar #btn-mute {
  background: #5c6bc0;
  color: #fff;
}

#softphone-topbar #btn-mute:hover {
  background: #3f51b5;
}

#softphone-topbar #btn-mute.btn-muted {
  background: #7f8c8d;
}

#softphone-topbar #btn-mute.btn-muted:hover {
  background: #636e72;
}

#softphone-topbar .sp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#softphone-topbar .sp-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

#softphone-topbar .sp-icon-btn.btn-muted {
  background: #7f8c8d;
}

#call-controls {
  flex-grow: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

#call-controls .call-btn-group .softphone-btn,
#call-controls .call-btn-group button {
  margin: 0;
}

#softphone-topbar .fila-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #d5dde5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

#softphone-topbar .fila-badge--wait {
  background: #f39c12;
  border-color: transparent;
  color: #fff;
}

#softphone-topbar .fila-badge--hot {
  background: #e74c3c;
  border-color: transparent;
  color: #fff;
}

#dial-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#dial-wrap[hidden] {
  display: none !important;
}

#softphone-topbar #numero-discagem {
  width: 148px;
  height: 32px;
  border: none;
  border-radius: 6px;
  padding: 0 28px 0 10px;
  box-sizing: border-box;
  margin: 0;
}

#softphone-topbar #btn-limpar-numero {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  min-height: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

#discagem-recentes {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  z-index: 1400;
  overflow: hidden;
}

#discagem-recentes[hidden] {
  display: none !important;
}

.discagem-recente {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  color: #2c3e50;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  margin: 0;
  min-height: 0;
  height: auto;
  font-size: 13px;
  text-transform: none;
  cursor: pointer;
}

.discagem-recente:hover {
  background: #eaf4fb;
}

#incoming-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 12px;
  background: #1a5276;
  color: #fff;
  box-sizing: border-box;
}

#incoming-strip[hidden] {
  display: none !important;
}

#incoming-strip.is-ringing {
  animation: incoming-pulse 1.2s ease-in-out infinite;
}

@keyframes incoming-pulse {
  0%, 100% { background-color: #1a5276; }
  50% { background-color: #196f3d; }
}

.incoming-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
}

#incoming-label {
  font-size: 15px;
  font-weight: 700;
  margin-right: auto;
}

#incoming-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#slot-encerrar {
  display: inline-flex;
}

#hamburger-menu {
  top: 48px;
  min-width: 220px;
}

#hamburger-menu .hamburger-item,
#hamburger-menu .menu-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: none;
  border: none;
  color: #1a1a1a;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  margin: 0;
  min-height: 0;
  height: auto;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}

#hamburger-menu .hamburger-item .sp-icon,
#hamburger-menu .menu-action .sp-icon {
  color: #2c3e50;
}

#hamburger-menu #btn-log {
  background: none;
  color: #1a1a1a;
}

#hamburger-menu .hamburger-item:hover,
#hamburger-menu .menu-action:hover {
  background: #e9ecef;
  color: #1a1a1a;
}

#call-log-modal {
  top: 48px;
  left: 8px;
  right: auto;
  width: min(420px, calc(100vw - 16px));
  max-height: min(360px, 70vh);
  margin-top: 0;
  padding: 0;
  color: #2c3e50;
  background: #fff;
  overflow: hidden;
  z-index: 1400;
}

#call-log-modal::before {
  display: none;
}

#call-log-content {
  padding: 8px 12px;
  max-height: min(360px, 70vh);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

.call-log-entry {
  color: #2c3e50;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.call-btn-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
}

#pause-group {
  display: inline-flex;
}

#painel-transferencia {
  color: #2c3e50;
}

#painel-transferencia .softphone-btn {
  color: #fff;
}

.video-window__btn .sp-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  #softphone-topbar {
    padding: 0 6px;
  }

  #agent-extension-label {
    display: none;
  }

  #softphone-topbar #numero-discagem {
    width: 112px;
  }

  #status-info {
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  #softphone-topbar {
    flex-direction: row;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 4px;
  }

  #softphone-topbar #hamburger-btn {
    margin: 0;
    align-self: center;
  }

  #call-controls {
    flex-wrap: nowrap;
  }
}

/* Diálogos e painéis */
.modal-overlay {
  background: rgba(15, 23, 32, 0.55);
  padding: 16px;
  overflow: auto;
}

.modal-content {
  width: min(440px, 100%);
  max-width: 440px;
  margin: auto;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-header {
  background: #fff;
  border-bottom: 1px solid #e6ebf0;
  padding: 14px 16px;
}

.modal-header h3 {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 700;
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #5d6d7e;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #eef2f5;
  color: #2c3e50;
}

.modal-close .sp-icon {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: 16px;
  color: #2c3e50;
  font-size: 14px;
  line-height: 1.45;
}

.modal-body p {
  margin: 0 0 12px;
}

.form-group label,
.campo-form label {
  color: #5d6d7e;
  font-size: 12px;
  font-weight: 700;
}

.form-group input,
.campo-form input,
.modal-body select,
#painel-transferencia input {
  height: 36px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
  color: #2c3e50;
  background: #fff;
}

.form-group input:focus,
.campo-form input:focus,
.modal-body select:focus,
#painel-transferencia input:focus {
  outline: none;
  border-color: #39b6fe;
  box-shadow: 0 0 0 3px rgba(57, 182, 254, 0.2);
}

.form-actions,
.modal-actions,
.modal-conversas-footer,
.sp-audio-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.modal-content .softphone-btn,
.modal-content .btn-primary,
.modal-content .btn-secondary,
.modal-conversas-footer button {
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary {
  background: #3498db;
}

.btn-primary:hover {
  background: #2980b9;
}

.btn-secondary {
  background: #eef2f5;
  color: #2c3e50;
}

.btn-secondary:hover {
  background: #e1e7ec;
}

.modal-conversas {
  background: rgba(15, 23, 32, 0.55);
}

.modal-conversas-content {
  margin: 8vh auto;
  width: min(480px, calc(100% - 32px));
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-conversas-header {
  background: #fff;
  color: #2c3e50;
  border-bottom: 1px solid #e6ebf0;
  padding: 14px 16px;
}

.modal-conversas-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.btn-fechar-modal {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #5d6d7e;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-fechar-modal .sp-icon {
  width: 16px;
  height: 16px;
}

.btn-fechar-modal:hover {
  background: #eef2f5;
  color: #2c3e50;
  opacity: 1;
}

.modal-conversas-body {
  padding: 16px;
}

.modal-conversas-footer {
  background: #fff;
  border-top: 1px solid #e6ebf0;
  margin-top: 0;
  padding: 12px 16px;
}

.btn-criar-nova-conversa {
  background: #2ecc71;
}

.btn-criar-nova-conversa:hover {
  background: #27ae60;
}

.btn-cancelar-modal {
  background: #eef2f5;
  color: #2c3e50;
}

.btn-cancelar-modal:hover {
  background: #e1e7ec;
}

.conversa-item,
.contato-item,
.secao-novo-contato,
.secao-inbox {
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  background: #fff;
}

.conversa-item:hover,
.contato-item:hover {
  background: #eaf4fb;
  border-color: #c5dff0;
}

.admin-option {
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.admin-option:hover {
  background: #eaf4fb;
  border-color: #c5dff0;
  transform: none;
}

#painel-transferencia,
.painel-pausa,
#call-log-modal,
#fila-detalhada,
#colegas-detalhada,
.call-btn-menu,
#hamburger-menu {
  border: 1px solid #e6ebf0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

#softphone-topbar #fila-detalhada,
#softphone-topbar #colegas-detalhada,
#softphone-topbar #painel-transferencia {
  top: 48px;
  right: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

#softphone-topbar #fila-detalhada::before,
#softphone-topbar #colegas-detalhada::before,
#softphone-topbar #painel-transferencia::before {
  display: none;
}

#softphone-topbar #fila-detalhada {
  width: 260px;
}

#softphone-topbar #colegas-detalhada {
  width: max-content;
  min-width: 260px;
  max-width: min(420px, 90vw);
}

#softphone-topbar #fila-detalhada .sp-menu-row,
#softphone-topbar #colegas-detalhada .sp-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 0;
  background: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

#softphone-topbar #fila-detalhada .sp-menu-row:hover,
#softphone-topbar #colegas-detalhada .colega-item:hover {
  background: #e9ecef;
}

#softphone-topbar #fila-detalhada .sp-menu-meta,
#softphone-topbar #colegas-detalhada .colega-status {
  flex: none;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

#softphone-topbar #colegas-detalhada .colega-vazio {
  color: #5d6d7e;
  justify-content: flex-start;
}

#softphone-topbar #painel-transferencia {
  width: 280px;
}

#softphone-topbar #painel-transferencia .sp-panel-form {
  padding: 12px 14px 14px;
}

#softphone-topbar #destinos-predefinidos:empty {
  display: none;
  margin: 0;
}

#softphone-topbar #painel-transferencia::before {
  display: none;
}

#softphone-topbar #painel-transferencia .sp-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #e6ebf0;
}

#softphone-topbar #painel-transferencia .sp-popover-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 700;
}

#softphone-topbar #painel-transferencia .sp-popover-close {
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #5d6d7e;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#softphone-topbar #painel-transferencia .sp-popover-close:hover {
  background: #eef2f5;
  color: #2c3e50;
}

#softphone-topbar #painel-transferencia .sp-popover-close .sp-icon {
  width: 16px;
  height: 16px;
}

#softphone-topbar #painel-transferencia .sp-popover-body {
  padding: 14px;
}

#softphone-topbar #painel-transferencia .campo-form {
  margin: 0 0 12px;
}

#softphone-topbar #painel-transferencia .campo-form label {
  display: block;
  margin: 0 0 6px;
  color: #5d6d7e;
  font-size: 12px;
  font-weight: 700;
}

#softphone-topbar #painel-transferencia input,
#softphone-topbar #painel-transferencia select {
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #fff;
  color: #2c3e50;
  font-size: 14px;
  box-sizing: border-box;
  box-shadow: none;
}

#softphone-topbar #painel-transferencia input:focus,
#softphone-topbar #painel-transferencia select:focus {
  outline: none;
  border-color: #39b6fe;
  box-shadow: 0 0 0 3px rgba(57, 182, 254, 0.2);
}

#softphone-topbar #destinos-predefinidos {
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid #e6ebf0;
}

#softphone-topbar #destinos-predefinidos:empty {
  display: none;
  border: none;
}

#softphone-topbar #painel-transferencia .select-destinos {
  width: calc(100% - 28px);
  margin: 10px 14px;
}

#softphone-topbar #painel-transferencia .container-botoes-destinos {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

#softphone-topbar #painel-transferencia .sp-destino {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 0;
  background: none;
  color: #1a1a1a;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

#softphone-topbar #painel-transferencia .sp-destino:hover {
  background: #e9ecef;
}

#softphone-topbar #painel-transferencia .sp-destino-nome {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#softphone-topbar #painel-transferencia .sp-destino-tipo {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f5;
  color: #5d6d7e;
  font-size: 11px;
  font-weight: 700;
}

#softphone-topbar #painel-transferencia .sp-destino--imediata .sp-destino-tipo {
  background: #fff6dd;
  color: #9a6b00;
}

#softphone-topbar #painel-transferencia .sp-destino--assistida .sp-destino-tipo {
  background: #e8f6fd;
  color: #1a5276;
}

#softphone-topbar #painel-transferencia .botoes-transferencia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

#softphone-topbar #painel-transferencia .sp-action {
  width: 100%;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}

#softphone-topbar #painel-transferencia .sp-action--primary {
  background: #3498db;
}

#softphone-topbar #painel-transferencia .sp-action--primary:hover {
  background: #2980b9;
}

#softphone-topbar #painel-transferencia .sp-action--success {
  background: #2ecc71;
}

#softphone-topbar #painel-transferencia .sp-action--success:hover {
  background: #27ae60;
}

#softphone-topbar #painel-transferencia .sp-action--warning {
  background: #f39c12;
}

#softphone-topbar #painel-transferencia .sp-action--warning:hover {
  background: #e67e22;
}

#softphone-topbar #painel-transferencia .sp-action--danger {
  background: #e74c3c;
}

#softphone-topbar #painel-transferencia .sp-action--danger:hover {
  background: #c0392b;
}

.painel-pausa {
  border-radius: 10px;
  padding: 8px;
}

.painel-pausa::before {
  display: none;
}

.painel-pausa-header {
  background: transparent;
  border-bottom: 1px solid #e6ebf0;
  padding: 8px 8px 10px;
}

.painel-pausa-botao {
  background: #fff;
  color: #2c3e50;
  border: none;
  text-align: left;
  font-weight: 600;
}

#painel-transferencia h3,
.painel-pausa-header h3,
#call-log-modal h3,
#fila-detalhada h3,
#colegas-detalhada h3 {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 700;
}

.painel-pausa-botao,
.call-btn-menu-item,
.fila-item,
.colega-item {
  text-transform: none;
  letter-spacing: 0;
  border-radius: 6px;
}

.painel-pausa-botao:hover,
.call-btn-menu-item:hover {
  background: #eaf4fb;
}

#audio-test-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
}

.sp-audio-dialog {
  max-width: 460px;
}

.sp-dialog-help,
.sp-audio-using {
  margin: 0 0 12px;
  color: #5d6d7e;
  font-size: 13px;
}

.sp-audio-using span {
  color: #2c3e50;
  font-weight: 700;
}

.modal-body select {
  width: 100%;
}

.sp-audio-meter {
  height: 10px;
  border-radius: 999px;
  background: #e9eef3;
  overflow: hidden;
  margin: 4px 0 12px;
}

#audio-test-level {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ecc71, #f1c40f, #e74c3c);
}

.sp-audio-actions {
  flex-wrap: wrap;
}

.sp-audio-actions .softphone-btn {
  text-transform: none;
}

.sp-status {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.sp-status--info {
  background: #e8f6fd;
  color: #1a5276;
}

.sp-status--ok {
  background: #e8f8ef;
  color: #196f3d;
}

.sp-status--erro {
  background: #fdecea;
  color: #922b21;
}

.sp-device-list {
  margin-top: 14px;
  border-top: 1px solid #e6ebf0;
  padding-top: 8px;
  max-height: 180px;
  overflow: auto;
}

.sp-device-list h4 {
  margin: 10px 0 6px;
  color: #2c3e50;
  font-size: 12px;
  font-weight: 700;
}

.sp-device-item {
  padding: 8px 10px;
  border-radius: 6px;
  color: #2c3e50;
  font-size: 13px;
}

.sp-device-item--erro {
  background: #fdecea;
  color: #922b21;
}

#audio-test-playback {
  display: none;
}
