@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');

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

:root {
  --teal: #1D9E75;
  --teal-dark: #0F6E56;
  --teal-light: #E8F7F2;
  --warm-gray: #F2F0EB;
  --border: #D8D5CF;
  --text: #2A2A27;
  --text-muted: #6B6860;
  --error: #C0392B;
  --radius: 8px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-gray);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.card .subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

label {
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  margin-top: 14px;
}

input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

button, .btn {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
button:hover, .btn:hover { background: var(--teal-dark); }

.error {
  background: #FDEDEC;
  color: var(--error);
  border: 1px solid #F1C1BB;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 14px;
}

.success {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 14px;
}

/* Admin dashboard specifics */
.wide { max-width: 1000px; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.03em; }
tr:hover { background: var(--teal-light); }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.topbar a { color: var(--teal); font-size: 13px; text-decoration: none; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.pill.active { background: var(--teal-light); color: var(--teal-dark); }
.pill.inactive { background: #F2F0EB; color: var(--text-muted); }
.actions a { margin-right: 10px; font-size: 12px; color: var(--teal); text-decoration: none; }
.actions a.danger { color: var(--error); }
.row-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 20px; }
.row-inline .field { flex: 1; min-width: 160px; }
.row-inline button { width: auto; margin-top: 0; padding: 10px 16px; }
