.hash-generator-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

/* 상단 */
.hash-generator-page .utility-top {
  text-align: center;
  padding: 30px 20px 28px;
}

.hash-generator-page .utility-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #ecfeff;
  color: #155e75;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hash-generator-page .utility-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.hash-generator-page .utility-desc {
  max-width: 760px;
  margin: 16px auto 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

/* 요약 카드 */
.hash-summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.hash-summary-item {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.hash-summary-item::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
}

.hash-summary-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.hash-summary-item span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* 카드 */
.hash-generator-card,
.hash-result-card {
  padding: 28px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.hash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.hash-card-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hash-card-head p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.hash-head-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding-top: 4px;
}

/* 입력 */
.hash-generator-card .utility-field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  color: #0f172a;
}

.hash-input {
  width: 100%;
  min-height: 220px;
  padding: 22px;
  box-sizing: border-box;
  border: 1px solid #1e293b;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  color: #e5e7eb;
  font-family: Consolas, Monaco, "SFMono-Regular", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.75;
  resize: vertical;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(15, 23, 42, 0.16);
}

.hash-input::placeholder {
  color: rgba(203, 213, 225, 0.5);
}

.hash-input:focus {
  border-color: #06b6d4;
  box-shadow:
    0 0 0 4px rgba(6, 182, 212, 0.14),
    0 18px 36px rgba(15, 23, 42, 0.18);
}

/* 옵션 */
.hash-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hash-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: #f8fafc;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.hash-check-item:hover {
  transform: translateY(-1px);
  border-color: rgba(6, 182, 212, 0.4);
  background: #f0fdfa;
}

.hash-check-item input {
  width: 18px;
  height: 18px;
  accent-color: #06b6d4;
}

.hash-check-item span {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

/* 버튼 */
.hash-action-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hash-generator-page .utility-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
}

.hash-generator-page .utility-btn-primary {
  background: linear-gradient(135deg, #0f172a, #155e75);
  color: #ffffff;
  border-color: #0f172a;
}

.hash-generator-page .utility-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

/* 결과 */
.hash-result-card {
  margin-top: 24px;
}

.hash-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hash-status-badge.is-ready {
  color: #475569;
  background: #f1f5f9;
}

.hash-status-badge.is-success {
  color: #155e75;
  background: #ecfeff;
}

.hash-status-badge.is-error {
  color: #b91c1c;
  background: #fee2e2;
}

/* 결과 리스트 */
.hash-result-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hash-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

.hash-result-item {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hash-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hash-result-head strong {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.hash-copy-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.hash-copy-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(6, 182, 212, 0.34);
  background: #f0fdfa;
}

.hash-result-value {
  overflow-x: auto;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 28%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #67e8f9;
  font-family: Consolas, Monaco, "SFMono-Regular", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.8;
  word-break: break-all;
}

/* 도움말 */
.hash-generator-page .help-panel {
  margin-top: 30px;
}

.hash-generator-page .help-panel > h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

/* 모바일 */
@media (max-width: 900px) {
  .hash-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hash-generator-page {
    padding: 0 0 28px;
  }

  .hash-generator-page .utility-top {
    padding: 24px 14px 22px;
  }

  .hash-summary-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hash-generator-card,
  .hash-result-card {
    padding: 22px;
    border-radius: 20px;
  }

  .hash-card-head {
    flex-direction: column;
    gap: 14px;
  }

  .hash-head-actions,
  .hash-action-row {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .hash-head-actions .utility-btn,
  .hash-action-row .utility-btn {
    width: 100%;
  }

  .hash-option-grid {
    grid-template-columns: 1fr;
  }

  .hash-input {
    min-height: 180px;
    font-size: 13px;
  }

  .hash-result-value {
    font-size: 12px;
  }

  .hash-generator-page .utility-title {
    font-size: 32px;
  }
}