/* Kyzel Clarity AI™ Voice Top Layout Add-on styles */

.kc-voice-top-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 28px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(151, 71, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 15%, rgba(0, 255, 156, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.kc-voice-top-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(212,175,55,0.18), transparent 24%, transparent 76%, rgba(192,192,192,0.12));
}

.kc-voice-top-copy,
.kc-voice-top-controls,
.kc-voice-status-row,
.kc-top-transcript {
  position: relative;
  z-index: 1;
}

.kc-voice-top-copy {
  max-width: 820px;
  margin-bottom: 18px;
}

.kc-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: #d4af37;
  font-weight: 800;
}

.kc-voice-top-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1.02;
  color: #fff;
}

.kc-voice-top-copy p:not(.kc-eyebrow) {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.96rem, 1.7vw, 1.1rem);
  line-height: 1.55;
}

.kc-voice-top-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.kc-voice-top-controls button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.kc-voice-top-controls button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.kc-voice-top-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.kc-primary-voice-btn {
  border: 1px solid rgba(212,175,55,0.85);
  background: linear-gradient(135deg, #d4af37, #fff3a6);
  color: #080808;
  box-shadow: 0 12px 34px rgba(212,175,55,0.22);
}

.kc-secondary-voice-btn {
  border: 1px solid rgba(0,255,156,0.55);
  background: rgba(0,255,156,0.12);
  color: #f8fff8;
}

.kc-ghost-voice-btn {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.kc-voice-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.kc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
}

.kc-status-pill.active {
  border-color: rgba(0,255,156,0.55);
  color: #dfffee;
}

.kc-top-transcript {
  margin-top: 16px;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(192,192,192,0.22);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

@media (max-width: 680px) {
  .kc-voice-top-panel {
    width: min(100% - 20px, 1180px);
    margin-top: 12px;
    border-radius: 22px;
  }

  .kc-voice-top-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kc-voice-top-controls button {
    width: 100%;
  }
}
