/**
 * 就活ことば化AI — 面接回答生成機能のスタイル
 */

/* 面接質問リスト */
.interview-questions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.interview-q-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
}
.interview-q-item:last-child {
  border-bottom: none;
}

.iq-text {
  display: block;
  font-size: .88rem;
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* 回答例を生成ボタン */
.btn-interview-gen {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.btn-interview-gen:hover {
  background: var(--blue-100);
  border-color: var(--blue-200);
}
.btn-interview-gen.btn-disabled {
  opacity: .6;
  cursor: not-allowed;
}
.btn-interview-gen.btn-generated {
  background: var(--teal-50);
  color: var(--teal-400);
  border-color: var(--teal-100);
  cursor: default;
}

/* 面接回答結果 */
.ia-answer-card {
  margin-top: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
}

.ia-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ia-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 2px 8px;
  border-radius: 4px;
}

.ia-time {
  font-size: .75rem;
  color: var(--gray-400);
}

.ia-answer-text {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--gray-800);
  white-space: pre-wrap;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 6px;
}

.btn-copy-ia {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 12px;
}
.btn-copy-ia:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
}

.ia-points,
.ia-followup,
.ia-tips {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-50);
}

.ia-points strong,
.ia-followup strong,
.ia-tips strong {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.ia-points ul,
.ia-followup ul,
.ia-tips ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.ia-points li,
.ia-followup li,
.ia-tips li {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 2px;
}

/* ── 面接対策（深掘りポイント）セクション ──────── */
.deep-dive-section {
  margin-bottom: 24px;
}

.deep-dive-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-600);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.deep-dive-desc {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.deep-dive-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.deep-dive-phrase-label,
.deep-dive-q-label,
.deep-dive-why-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 4px;
}

.deep-dive-phrase {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--blue-50);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  line-height: 1.6;
  border-left: 3px solid var(--blue-400);
}

.deep-dive-question-block {
  margin-bottom: 12px;
}

.deep-dive-q-text {
  font-size: .88rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.6;
}

.deep-dive-answer-block {
  margin-bottom: 12px;
}

/* 準備回答のアコーディオン（btn-copy等と同系のフラットなボタンに統一） */
.deep-dive-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  font-size: .84rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.deep-dive-toggle:hover {
  background: var(--gray-100);
  color: var(--blue-600);
}
.deep-dive-toggle[aria-expanded="true"] {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.toggle-chevron {
  flex-shrink: 0;
  transition: transform .2s;
}
.deep-dive-toggle[aria-expanded="true"] .toggle-chevron {
  transform: rotate(180deg);
}

.deep-dive-answer-content {
  padding: 14px 16px;
  background: #fafaf8;
  border: 1px solid var(--gray-100);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.deep-dive-answer-text {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--gray-800);
  white-space: pre-wrap;
}

.deep-dive-why-text {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--gray-400);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .deep-dive-card {
    padding: 16px 18px;
  }
  .deep-dive-phrase {
    font-size: .85rem;
    padding: 6px 10px;
  }
}
