/* 고객용 AI 보험금 찾기 — 병원용 화면/CSS와 분리 */

.customer-ai-claim-page .customer-chat-layout--centered,
.customer-ai-claim-result-page .customer-chat-layout--centered {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0.75rem 0.65rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  box-sizing: border-box;
}

.customer-ai-claim-page .customer-chat-layout--centered .customer-chat-device,
.customer-ai-claim-result-page .customer-chat-layout--centered .customer-chat-device {
  width: 100%;
  max-width: 26.875rem;
  min-height: calc(100dvh - 1.5rem);
  margin: 0;
  padding: 0;
  flex: 0 1 26.875rem;
}

.customer-ai-form[hidden],
.customer-ai-panel__actions[hidden],
.customer-ai-panel__error[hidden],
.customer-ai-panel__busy[hidden] {
  display: none !important;
}

.customer-ai-steps {
  flex-shrink: 0;
  padding: 0.55rem 0.85rem 0.35rem;
  background: #fff;
  border-bottom: 1px solid #e8ecf2;
  position: relative;
  z-index: 5;
}

.customer-ai-steps__list {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.customer-ai-steps__item {
  flex: 1;
  text-align: center;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
}

.customer-ai-steps__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.customer-ai-steps__item--active {
  color: #0b1f44;
}

.customer-ai-steps__item--done {
  color: #16a34a;
}

.customer-ai-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e8ecf2;
  font-size: 0.72rem;
  font-weight: 800;
}

.customer-ai-steps__item--active .customer-ai-steps__num {
  background: #fee500;
  color: #191919;
}

.customer-ai-steps__item--done .customer-ai-steps__num {
  background: #dcfce7;
  color: #166534;
}

.customer-ai-claim-main {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.85rem 1.25rem;
}

.customer-ai-panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #0b1f44;
}

.customer-ai-panel__lead,
.customer-ai-panel__message {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
  white-space: pre-line;
}

.customer-ai-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: calc(100% - 48px);
  max-width: 340px;
  margin: 0.75rem auto;
  box-sizing: border-box;
}

.customer-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  touch-action: manipulation;
}

.customer-ai-btn--primary {
  background: linear-gradient(180deg, #ffe033 0%, #fee500 100%);
  border-color: #e6c200;
  color: #191919;
}

.customer-ai-btn--outline {
  background: #fff;
  border-color: #cbd5e1;
  color: #475569;
}

.customer-ai-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 20rem;
  margin-top: 0.5rem;
}

.customer-ai-form__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.customer-ai-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.customer-ai-panel__error {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
}

.customer-ai-panel__busy {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

/* 결과 */
.customer-ai-result {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.85rem 1.5rem;
}

.customer-ai-result__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #0b1f44;
}

.customer-ai-result__lead {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
}

.customer-ai-result__coming-soon {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #475569;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px dashed #cbd5e1;
}

.customer-ai-result__disclaimer {
  margin: 0 0 1rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
  background: #f8fafc;
  border-radius: 0.5rem;
}

.customer-ai-result-card {
  margin-bottom: 0.75rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(11, 31, 68, 0.06);
}

.customer-ai-result-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: #64748b;
}

.customer-ai-result-card__count,
.customer-ai-result-card__amount-main {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b1f44;
}

.customer-ai-result-card__amount-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
}

.customer-ai-result-card__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.8rem;
}

.customer-ai-result-card__list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.35rem;
  padding: 0.35rem 0;
  border-top: 1px solid #f1f5f9;
}

.customer-ai-result-card__empty {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.customer-ai-result__detail {
  margin-top: 0.5rem;
  max-width: 20rem;
}
