/* static/hr_portal/ai-interview.css — nomzod AI suhbati (TZ/TZ_AI_REKRUTING_2026_11_06.md §5). Faqat modul yoqiq sahifada yuklanadi.
   Ranglar hb-tokens.css dagi --hb-* dan. */
.ap-ai [hidden]{ display:none !important; }
.ap-ai-ways{ display:flex; flex-direction:column; gap:10px; }
.ap-ai-way{ display:flex; align-items:center; gap:14px; width:100%; padding:14px; text-align:left; cursor:pointer;
  background:var(--hb-sfc); color:var(--hb-txt); border:1px solid var(--hb-brd); border-radius:14px; font:inherit;
  transition:border-color .15s, background .15s; }
.ap-ai-way:hover, .ap-ai-way:focus-visible{ border-color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 6%, var(--hb-sfc)); outline:none; }
.ap-ai-ic{ display:flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; border-radius:12px;
  color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 10%, var(--hb-sfc)); }
.ap-ai-t{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ap-ai-t b{ font-size:15.5px; font-weight:700; }
.ap-ai-t span{ font-size:13px; color:var(--hb-mut); line-height:1.35; }
.ap-ai-note{ font-size:14.5px; line-height:1.55; margin:0 0 12px; }
.ap-ai-check{ display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:600; margin:14px 0; cursor:pointer; }
.ap-ai-check input{ width:20px; height:20px; accent-color:var(--hb-acc); flex:none; }
.ap-ai-check a, .ap-ai-note a{ color:var(--hb-acc); font-weight:500; }
.ap-ai-row{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:12px; }
.ap-ai-go{ padding:12px 20px; border:0; border-radius:12px; cursor:pointer; font:inherit; font-weight:700; font-size:15px;
  color:#fff; background:var(--hb-acc); }
.ap-ai-go:disabled{ opacity:.55; cursor:default; }
.ap-ai-link{ padding:6px 0; border:0; background:none; cursor:pointer; font:inherit; font-size:13.5px; color:var(--hb-mut); text-decoration:underline; }
.ap-ai-err{ font-size:13.5px; color:var(--hb-danger, #c0392b); margin:8px 0 0; }
.ap-ai-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:15px; margin-bottom:10px; }
.ap-ai-head span{ font-size:13px; color:var(--hb-mut); font-variant-numeric:tabular-nums; }
.ap-ai-log{ display:flex; flex-direction:column; gap:8px; height:min(52vh, 420px); overflow-y:auto; padding:2px 2px 8px; }
.ap-ai-msg{ max-width:88%; padding:10px 13px; border-radius:14px; font-size:14.5px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; }
.ap-ai-msg.is-ai{ align-self:flex-start; background:color-mix(in srgb, var(--hb-acc) 8%, var(--hb-sfc)); border-bottom-left-radius:4px; }
.ap-ai-msg.is-user{ align-self:flex-end; color:#fff; background:var(--hb-acc); border-bottom-right-radius:4px; }
.ap-ai-typing{ display:inline-flex; gap:4px; padding:4px 2px; }
.ap-ai-typing i{ width:7px; height:7px; border-radius:50%; background:var(--hb-mut); animation:apAiDot 1.1s infinite; }
.ap-ai-typing i:nth-child(2){ animation-delay:.15s; } .ap-ai-typing i:nth-child(3){ animation-delay:.3s; }
@keyframes apAiDot{ 0%,70%,100%{ opacity:.3; } 35%{ opacity:1; } }
.ap-ai-input{ display:flex; align-items:flex-end; gap:8px; margin-top:8px; }
.ap-ai-input textarea{ flex:1; min-width:0; resize:none; padding:11px 13px; border:1px solid var(--hb-brd); border-radius:12px; font:inherit;
  font-size:15px; color:var(--hb-txt); background:var(--hb-sfc); }
.ap-ai-input textarea:focus{ outline:none; border-color:var(--hb-acc); }
.ap-ai-send{ display:flex; align-items:center; justify-content:center; flex:none; width:46px; height:46px; border:0; border-radius:12px;
  cursor:pointer; color:#fff; background:var(--hb-acc); }
.ap-ai-send:disabled{ opacity:.55; cursor:default; }
.ap-ai-voice{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; margin-top:8px; padding:12px 14px; font-size:14px; font-weight:600;
  border:1px solid var(--hb-brd); border-radius:12px; }
.ap-ai-voice .ap-ai-link{ margin-left:auto; }
.ap-ai-pulse{ width:10px; height:10px; flex:none; border-radius:50%; background:var(--hb-acc); animation:apAiPulse 1.4s infinite; }
@keyframes apAiPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.45; transform:scale(.75); } }
.ap-ai-done{ text-align:center; padding:20px 4px; }
.ap-ai-done .ic{ width:56px; height:56px; margin:0 auto 12px; display:flex; align-items:center; justify-content:center; border-radius:50%;
  font-size:26px; color:#fff; background:var(--hb-acc); }
.ap-ai-done h2{ font-size:20px; font-weight:800; margin:0 0 8px; }
.ap-ai-done p{ font-size:14.5px; color:var(--hb-mut); line-height:1.55; margin:0; }
@media (prefers-reduced-motion:reduce){ .ap-ai-typing i, .ap-ai-pulse{ animation:none; } }
