* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body,
#root {
  background: #ffffff;
  color: #000000;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
}
p,
span,
li,
label {
  color: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Dark brown sections must always show white text.
   Only override color at the section level — do NOT use * wildcard with
   !important because that blocks inline color overrides on child elements
   (e.g. form inputs, badges, price displays that need a different color). */
[style*="background-color: #2c1810"],
[style*="background-color:#2c1810"],
[style*="background: #2c1810"],
[style*="background:#2c1810"],
[style*="background-color: #5C3D1E"],
[style*="background-color:#5C3D1E"],
[style*="background: #5C3D1E"],
[style*="background:#5C3D1E"],
[style*="background-color: #3D1C02"],
[style*="background-color:#3D1C02"],
[style*="background: #3D1C02"],
[style*="background:#3D1C02"],
[style*="background-color: #4a2c1a"],
[style*="background-color:#4a2c1a"],
[style*="background: #4a2c1a"],
[style*="background:#4a2c1a"],
[style*="background-color: #8B4513"],
[style*="background-color:#8B4513"],
[style*="background: #8B4513"],
[style*="background:#8B4513"] {
  color: #ffffff !important;
}
[style*="background-color: #2c1810"] *,
[style*="background-color:#2c1810"] *,
[style*="background: #2c1810"] *,
[style*="background:#2c1810"] *,
[style*="background-color: #5C3D1E"] *,
[style*="background-color:#5C3D1E"] *,
[style*="background: #5C3D1E"] *,
[style*="background:#5C3D1E"] *,
[style*="background-color: #3D1C02"] *,
[style*="background-color:#3D1C02"] *,
[style*="background: #3D1C02"] *,
[style*="background:#3D1C02"] *,
[style*="background-color: #4a2c1a"] *,
[style*="background-color:#4a2c1a"] *,
[style*="background: #4a2c1a"] *,
[style*="background:#4a2c1a"] *,
[style*="background-color: #8B4513"] *,
[style*="background-color:#8B4513"] *,
[style*="background: #8B4513"] *,
[style*="background:#8B4513"] * {
  color: #ffffff !important;
}
.dark-brown-bg {
  color: #ffffff !important;
}
.dark-brown-bg * {
  color: #ffffff !important;
}
.dark-brown-bg input,
.dark-brown-bg textarea,
.dark-brown-bg select,
.dark-brown-bg label {
  color: #000000 !important;
}
/* Exception: form inputs inside dark brown sections keep dark text */
[style*="background-color: #2c1810"] input,
[style*="background-color:#2c1810"] input,
[style*="background: #2c1810"] input,
[style*="background:#2c1810"] input,
[style*="background-color: #5C3D1E"] input,
[style*="background-color:#5C3D1E"] input,
[style*="background: #5C3D1E"] input,
[style*="background:#5C3D1E"] input,
[style*="background-color: #3D1C02"] input,
[style*="background-color:#3D1C02"] input,
[style*="background: #3D1C02"] input,
[style*="background:#3D1C02"] input,
[style*="background-color: #4a2c1a"] input,
[style*="background-color:#4a2c1a"] input,
[style*="background: #4a2c1a"] input,
[style*="background:#4a2c1a"] input,
[style*="background-color: #8B4513"] input,
[style*="background-color:#8B4513"] input,
[style*="background: #8B4513"] input,
[style*="background:#8B4513"] input,
[style*="background-color: #2c1810"] textarea,
[style*="background-color:#2c1810"] textarea,
[style*="background: #2c1810"] textarea,
[style*="background:#2c1810"] textarea,
[style*="background-color: #5C3D1E"] textarea,
[style*="background-color:#5C3D1E"] textarea,
[style*="background: #5C3D1E"] textarea,
[style*="background:#5C3D1E"] textarea,
[style*="background-color: #3D1C02"] textarea,
[style*="background-color:#3D1C02"] textarea,
[style*="background: #3D1C02"] textarea,
[style*="background:#3D1C02"] textarea,
[style*="background-color: #4a2c1a"] textarea,
[style*="background-color:#4a2c1a"] textarea,
[style*="background: #4a2c1a"] textarea,
[style*="background:#4a2c1a"] textarea,
[style*="background-color: #8B4513"] textarea,
[style*="background-color:#8B4513"] textarea,
[style*="background: #8B4513"] textarea,
[style*="background:#8B4513"] textarea,
[style*="background-color: #2c1810"] select,
[style*="background-color:#2c1810"] select,
[style*="background: #2c1810"] select,
[style*="background:#2c1810"] select,
[style*="background-color: #5C3D1E"] select,
[style*="background-color:#5C3D1E"] select,
[style*="background: #5C3D1E"] select,
[style*="background:#5C3D1E"] select,
[style*="background-color: #3D1C02"] select,
[style*="background-color:#3D1C02"] select,
[style*="background: #3D1C02"] select,
[style*="background:#3D1C02"] select,
[style*="background-color: #4a2c1a"] select,
[style*="background-color:#4a2c1a"] select,
[style*="background: #4a2c1a"] select,
[style*="background:#4a2c1a"] select,
[style*="background-color: #8B4513"] select,
[style*="background-color:#8B4513"] select,
[style*="background: #8B4513"] select,
[style*="background:#8B4513"] select {
  color: #000000 !important;
}
input,
textarea,
select {
  font-family: system-ui, -apple-system, sans-serif;
}
button {
  cursor: pointer;
  font-family: system-ui, -apple-system, sans-serif;
}
