/* Base */
.holiday-wrap {
  width: 100%;
  padding: 24px 0;
}

.holiday-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.holiday-header {
  text-align: center;
  padding: 8px 0 18px;
}

.holiday-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.5px;
}

.holiday-subtitle {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 14px;
}

/* Tabs */
.holiday-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 18px;
}

.tab-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  min-width: 120px;
}

.tab-btn.is-active {
  border-color: #111827;
  font-weight: 700;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* Layout */
.holiday-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 960px) {
  .holiday-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
}

.card-head {
  margin-bottom: 12px;
}

.card-title {
  margin: 0;
  font-size: 18px;
}

.card-desc {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
}

/* Form */
.form-row {
  margin-top: 12px;
}

.form-row label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #111827;
}

.form-row label .opt {
  font-weight: 400;
  color: #6b7280;
}

.form-control {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
}

.form-control input {
  width: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
}

.form-control .hint {
  color: #6b7280;
  font-size: 12px;
  white-space: nowrap;
}

.help {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
}

.form-row.inline {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.92;
}

.btn-ghost {
  border-color: #e5e7eb;
  background: #fff;
  color: #111827;
}

.notice {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.notice-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.notice-text {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

/* Results */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

.result-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.result-label {
  color: #6b7280;
  font-size: 12px;
}

.result-value {
  margin-top: 6px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.2px;
}

/* Detail */
.detail {
  margin-top: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.detail-summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  background: #f9fafb;
}

.detail-summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  margin-left: 8px;
}

.detail[open] .chev {
  transform: rotate(-135deg);
}

.detail-body {
  padding: 12px;
}

.detail-line {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.detail-k {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.detail-v {
  color: #374151;
  font-size: 13px;
  text-align: right;
}

.detail-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.detail-box-title {
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  font-size: 13px;
  line-height: 1.6;
}

/* Guide */
.guide h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.guide p,
.guide li {
  color: #374151;
  font-size: 14px;
  line-height: 1.7;
}

.guide-note {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 12px;
  color: #374151;
  font-size: 13px;
}
