/* Sweepers Cleaning Services brand:
   #FFCF00 gold  -- PRIMARY: highlights, emphasis, calls to action only
   #F7F6F1 cream -- background / shading, not an accent */

:root {
  --ink: #1a1a1a;
  --muted: #726d5f;
  --border: #e4e0d3;
  --gold: #FFCF00;
  --gold-dark: #DDB300;
  --cream: #F7F6F1;
  --card-bg: #ffffff;
  --error-bg: #fef2f2;
  --error-text: #b91c1c;
  --success-bg: #f0fdf4;
  --success-text: #15803d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

/* Header: white surface, generous logo, thin utility nav strip below.
   No gold here -- the logo itself is the header's visual weight. */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.site-header-brand {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.brand-logo {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.site-nav-strip {
  background: var(--ink);
}

.site-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.9em;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.greeting {
  color: var(--gold);
  font-weight: 600;
  margin-right: auto;
}

.site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.site-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: var(--muted);
  font-size: 0.85em;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05);
}

.card-wide {
  max-width: 560px;
  margin: 0;
}

h1 {
  font-size: 1.5em;
  margin-top: 0;
}

label {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
  font-size: 0.9em;
  color: var(--muted);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  background: var(--cream);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
}

/* The one element on the page that's allowed to shout: the primary action. */
button, .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

button:hover, .btn:hover {
  background: var(--gold-dark);
}

.alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.92em;
}

.alert-error {
  background: var(--error-bg);
  color: var(--error-text);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.helper-links {
  margin-top: 18px;
  font-size: 0.9em;
  text-align: center;
}

.helper-links a {
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--cream);
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

table a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
