body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7f8;
  color: #222;
}

.centered {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.centered.narrow {
  max-width: 420px;
  margin: auto;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.6rem;
}

.tagline {
  max-width: 480px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

.muted {
  color: #666;
  margin-bottom: 2rem;
}

.button {
  padding: 0.7rem 1.4rem;
  background: #2c3e50;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: #1f2f3d;
}

.button.logout {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000;
}

/* Secondary actions (register / forgot) */
.secondary-btn {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
  margin-top: 0.6rem;
}

.secondary-btn:hover {
  background: #f1f3f5;
}



.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  padding: 2rem;
}

.tile {
  background: white;
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Shells */



/* Google sign-in */
.google-btn {
  width: 100%;
  padding: 0.65rem;
  margin-top: 1rem;
  background: white;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.google-btn:hover {
  background: #f6f7f8;
}
 /* spacing */
.auth-divider {
  margin: 1.2rem 0;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
}

/* Login form elements (email / password) */

.login-box label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #444;
}

.login-box input {
  width: 100%;
  padding: 0.65rem;
  margin-bottom: 1.1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.login-box input:focus {
  outline: none;
  border-color: #3b6ea8;
}

/* Password visibility toggle */

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 8px;
  top: 7px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  font-size: 0.9rem;
}

.toggle-password:hover {
  color: #333;
}

/* Cards */
.login-card,
.login-box {
  width: 360px;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 8px;
}

.login-card {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.login-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Card headings */
.login-card h1,
.login-box h1 {
  text-align: center;
  margin: 0 0 0.25rem 0;
  font-size: 1.8rem;
}

/* Primary button */
.primary-btn {
  width: 100%;
  padding: 0.7rem;
  background: #3b6ea8;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.primary-btn:hover {
  background: #2f5f93;
}
