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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

.divider {
  text-align: center;
  margin: 1.25rem 0;
  color: #999;
  font-size: 0.85rem;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.15);
}

.btn {
  display: block;
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
}

.btn-google {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-google:hover {
  background: #f8f8f8;
}

.btn-primary {
  background: #4285f4;
  color: #fff;
}

.btn-primary:hover {
  background: #3367d6;
}

.btn-logout {
  background: #e74c3c;
  color: #fff;
  display: inline-block;
  width: auto;
  padding: 0.5rem 1.25rem;
}

.btn-logout:hover {
  background: #c0392b;
}

.links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.links a,
.links button {
  background: none;
  border: none;
  color: #4285f4;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: none;
}

.links a:hover,
.links button:hover {
  text-decoration: underline;
}

.message {
  display: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
}

.message.error {
  background: #fde8e8;
  color: #c0392b;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
