/**
 * career-counseling.css
 * Consumes existing theme CSS variables only.
 */

.career-counseling-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: left;
}

.career-counseling-hero .back-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.career-counseling-hero .section-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.career-counseling-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.cc-flash {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.cc-flash-success { background: rgba(46, 204, 113, 0.15); }
.cc-flash-error   { background: rgba(231, 76, 60, 0.15); }

.cc-ticket-box {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: rgba(212, 175, 106, 0.08);
  border: 1px solid rgba(212, 175, 106, 0.3);
}
.cc-ticket-code {
  font-family: var(--font-mono, monospace);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  display: inline-block;
  margin: 0.5rem 0;
}
.cc-ticket-hint { font-size: 0.82rem; opacity: 0.8; word-break: break-all; }

.cc-ask-block {
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.cc-lookup-block {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border: 1px dashed rgba(255,255,255,0.15);
}
.cc-lookup-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.cc-form-row { margin-bottom: 1rem; }
.cc-form-row-split { display: flex; gap: 1rem; }
.cc-form-row-split label { flex: 1; }

.cc-ask-form label,
.cc-lookup-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.cc-ask-form input,
.cc-ask-form textarea,
.cc-lookup-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-family: inherit;
}

.cc-btn-primary,
.cc-btn-secondary {
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cc-post {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cc-post-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.cc-status {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
}
.cc-status-open     { background: rgba(241, 196, 15, 0.2); }
.cc-status-answered { background: rgba(46, 204, 113, 0.2); }
.cc-status-closed   { background: rgba(149, 165, 166, 0.2); }

.cc-post-ticket {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  opacity: 0.6;
  margin-left: auto;
}

.cc-post-subject { margin: 0 0 0.5rem; }
.cc-post-message { margin: 0 0 0.75rem; line-height: 1.6; }
.cc-awaiting-reply { font-size: 0.82rem; opacity: 0.6; font-style: italic; }

.cc-replies {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(255,255,255,0.1);
}

.cc-reply { margin-bottom: 0.75rem; }
.cc-reply-author { font-weight: 600; font-size: 0.85rem; }
.cc-reply-role { font-weight: 400; opacity: 0.6; font-size: 0.75rem; }

.cc-reply-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.cc-reply-form textarea { flex: 1; }

.cc-empty-state { opacity: 0.7; }

@media (max-width: 640px) {
  .cc-form-row-split { flex-direction: column; }
}

/* ---- Interactive radio player ---- */

.radio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}

.radio-player-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gold, #D4AF6A);
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.radio-player-btn:hover { transform: scale(1.06); }
.radio-player-btn:active { transform: scale(0.96); }

.radio-player-info { flex: 1; min-width: 0; }
.radio-player-status {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.radio-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4AF6A;
  animation: radio-pulse 1.6s infinite;
}
.radio-live-dot.buffering { background: #9CA3AF; animation: radio-pulse 0.9s infinite; }

@keyframes radio-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.25; }
  100% { opacity: 1; }
}

/* ---- Waveform visualizer ---- */

.radio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  flex-shrink: 0;
}
.radio-waveform span {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold, #D4AF6A);
  opacity: 0.35;
  transition: opacity .2s ease;
}
.radio-player.is-playing .radio-waveform span {
  opacity: 1;
  animation-name: radio-wave;
  animation-duration: 0.9s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.radio-player.is-playing .radio-waveform span:nth-child(1) { animation-delay: -0.6s; }
.radio-player.is-playing .radio-waveform span:nth-child(2) { animation-delay: -0.2s; }
.radio-player.is-playing .radio-waveform span:nth-child(3) { animation-delay: -0.8s; }
.radio-player.is-playing .radio-waveform span:nth-child(4) { animation-delay: -0.1s; }
.radio-player.is-playing .radio-waveform span:nth-child(5) { animation-delay: -0.5s; }
.radio-player.is-playing .radio-waveform span:nth-child(6) { animation-delay: -0.3s; }
.radio-player.is-playing .radio-waveform span:nth-child(7) { animation-delay: -0.7s; }

@keyframes radio-wave {
  0%   { height: 6px; }
  50%  { height: 26px; }
  100% { height: 6px; }
}

.radio-player-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.radio-player-volume input[type="range"] {
  width: 70px;
  accent-color: var(--gold, #D4AF6A);
}
.radio-mute-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  font-size: 0.9rem;
}
.radio-mute-btn:hover { opacity: 1; }