:root {
  --bg: #121214;
  --bg-card: #1c1c20;
  --accent: #e0447e;
  --text: #f2f2f2;
  --text-dim: #9a9aa2;
  --border: #2c2c31;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.nav a { color: var(--text); text-decoration: none; font-weight: 600; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-top: 24px;
}

h1 { font-size: 28px; margin-bottom: 8px; }
p.subtitle { color: var(--text-dim); margin-top: 0; }

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f0f11;
  color: var(--text);
  font-size: 15px;
}

button, .btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover { opacity: 0.9; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.error {
  background: #3a1620;
  color: #ff8fa8;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img { width: 100%; display: block; }
.gallery-item .caption { padding: 10px; font-size: 14px; color: var(--text-dim); }

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.status-active { background: #123a24; color: #6fe3a1; }
.status-inactive { background: #3a1616; color: #ff8f8f; }

footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  padding: 32px 20px;
}
