:root {
  --bg: #0f172a;
  --card: #1e293b;
  --primary: #3b82f6;
  --text: #f8fafc;
  --error: #ef4444;
  --border: #334155;
  --subtext: #94a3b8;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.login-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.login-card p {
  color: var(--subtext);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: #fff;
  box-sizing: border-box;
  font-size: 1rem;
  margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: 2px solid var(--primary);
}

button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #2563eb;
}

.error-message {
  color: var(--error);
  background: rgba(239, 68, 68, 0.1);
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.content-container {
  max-width: 800px;
  width: 90%;
  padding: 2rem;
}

.logout-btn {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--error);
  text-decoration: none;
  font-weight: 600;
}

.logout-btn:hover {
  text-decoration: underline;
}