:root {
  --pink: #e01b84;
  --pink-dark: #c01870;
  --pink-light: #fdf0f7;
  --charcoal: #2d2d2d;
  --cream: #f5f2ec;
  --teal: #1a7a6d;
  --teal-light: #e8f5f3;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-500: #888888;
  --gray-700: #555555;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.10);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.5;
  min-height: 100vh;
}

/* ── Header ── */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--pink);
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.header .brand { display: flex; align-items: center; gap: 12px; }

.header .brand img { height: 32px; }

.header .brand span {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.header nav { display: flex; align-items: center; gap: 16px; }

.header nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s;
}

.header nav a:hover { background: var(--pink-light); }
.header nav a.active { color: var(--pink); }

.header .user-info {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.10s;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--pink); color: var(--white); }
.btn-primary:hover { background: var(--pink-dark); }

.btn-outline {
  background: var(--white);
  color: var(--pink);
  border: 1.5px solid var(--pink);
}
.btn-outline:hover { background: var(--pink-light); }

.btn-sm { padding: 5px 12px; font-size: 12px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

/* ── Forms ── */
.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(224, 27, 132, 0.10);
}

/* ── Flash messages ── */
.flash {
  padding: 10px 20px;
  margin: 12px 28px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.flash-error { background: #fde8e8; color: #b91c1c; }
.flash-success { background: var(--teal-light); color: var(--teal); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
}

/* ── Tables ── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  text-align: left;
  padding: 10px 12px;
  background: var(--gray-100);
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 2px solid var(--gray-200);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
}

tr:hover td { background: var(--pink-light); }

/* ── Utilities ── */
.text-right { text-align: right; }
.text-pink { color: var(--pink); }
.text-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 12px; }
