/*
 * thai-date-converter.css — per-tool styles for the Thai Date Converter.
 * Covers the always-visible "Today" card and the Thai-format value rows that
 * aren't part of the shared component/utility layers.
 * Tokens only; no inline styles (CSP: style-src 'self').
 */

/* ---- Today quick-view card -------------------------------------------------- */
.tdc-today-card {
  background: var(--blue-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.tdc-today-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font: 600 12px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.tdc-today-full {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.tdc-today-years {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* ---- Thai date format rows -------------------------------------------------- */
.tdc-fmt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tdc-fmt-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.tdc-fmt-label {
  flex: none;
  width: 128px;
  font: 500 12px var(--font-sans);
  color: var(--text-muted);
}

.tdc-fmt-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tdc-fmt-row .btn-icon {
  flex: none;
}

@media (max-width: 479px) {
  .tdc-fmt-row {
    flex-wrap: wrap;
  }
  .tdc-fmt-label {
    width: 100%;
  }
}
