/* ==========================================================================
   Interview Orbit - Live Chat & Simulation Component Styling (Original Theme)
   ========================================================================== */

.focus-block {
  background: #fff8e8;
  border-right: 3px solid var(--coral);
  padding: 15px 17px;
  margin: 22px 0;
}

.focus-block h3 {
  font: 10px 'DM Mono', monospace;
  color: var(--coral);
  margin: 0 0 9px;
}

.focus-block ul {
  margin: 0;
  padding: 0 17px 0 0;
  font-size: 11px;
  line-height: 1.9;
}

.chat-panel {
  border-top: 2px solid var(--ink);
  margin-top: 27px;
  padding-top: 14px;
}

.chat-title {
  display: flex;
  justify-content: space-between;
  font: 11px 'DM Mono', monospace;
  margin-bottom: 12px;
}

.chat-title span:last-child {
  color: var(--coral);
  font-size: 9px;
}

.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
}

.chat-welcome,
.chat-ai {
  background: #edf4f1;
  padding: 9px 11px;
  align-self: stretch;
  border-radius: 4px;
}

.chat-user {
  background: #fff1ec;
  padding: 9px 11px;
  align-self: flex-start;
  max-width: 88%;
  border-radius: 4px;
  border-right: 3px solid var(--coral);
}

.chat-form {
  display: flex;
  margin-top: 11px;
  border: 1px solid var(--line);
  background: white;
}

.chat-form input {
  border: 0 !important;
  background: transparent !important;
  outline: 0;
  padding: 11px;
  width: 100%;
  font: 12px 'Manrope', 'Heebo', sans-serif;
  margin: 0 !important;
}

.chat-form button {
  border: 0;
  background: var(--ink);
  color: white;
  width: 43px;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.chat-form button:hover {
  background: var(--coral);
}

/* Mic Button & Speech to Text Indicator */
.chat-form .mic-button {
  background: #f4f0e8;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--ink);
  width: 42px;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.chat-form .mic-button:hover {
  background: var(--teal);
  color: white;
}

.chat-form .mic-button.recording {
  background: var(--coral);
  color: white;
  animation: micPulse 1.2s infinite alternate;
}

@keyframes micPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.mic-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 10px 'DM Mono', monospace;
  color: var(--coral);
  margin-top: 6px;
  padding: 4px 8px;
  background: #fff1ec;
  border-radius: 3px;
}

.mic-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulseDot 1s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.3); }
}