/* =============================================================================
   base.css — Utility's, thema-variabele en formuliervelden.

   LET OP: de volgorde van de <link>-tags in index.html IS de cascade.
   Niet herschikken zonder die volgorde mee te wijzigen (zie AGENTS.md).
   ========================================================================== */
/* =============================================================================
   Tussenuur.info — Component Styles (v4.0)
   Layout & component-specific styles. Colors come from theme.css variables.
   ============================================================================= */

/* Subtle dot-grid texture for light mode */
.theme-light body {
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px) !important;
}

/* ── Utility ── */
.hidden { display: none !important; }
.flex-row { display: flex; gap: var(--space-md); align-items: center; }
.w-full { width: 100%; }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-field {
  padding-right: 48px;
}

.input-icon-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast);
}

.input-icon-btn:hover {
  color: var(--text-secondary);
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
  transition: color var(--transition-fast);
}

.link-btn:hover {
  color: var(--accent-primary-hover);
}

.feedback-text {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  text-align: center;
  min-height: 20px;
  color: var(--text-tertiary);
}

.feedback-text.error { color: var(--danger); }
.feedback-text.success { color: var(--success); }

