body {
  margin: 0;
  background: #f7f2ec;
  font-family: Arial, sans-serif;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  background: #efe4d6;
  padding: 32px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.login-card h2 {
  margin-bottom: 24px;
  color: #3b2f26;
}

.login-card input {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #cfc6bb;
  font-size: 14px;
  background: #f5efe6;
  color: #3b2f26;
  opacity: 1 !important;
}

.login-card input::placeholder {
  color: #3b2f26 !important;
  opacity: 1 !important;
}

.login-card input:focus {
  outline: none;
  border-color: #3b2f26;
  background: #f5efe6;
}

.login-card button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 20px;
  background: #3b2f26;
  color: #f7f2ec;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card button:hover {
  opacity: 0.9;
}

/* Works for BOTH login and register buttons */
.login-card button#login,
.login-card button#register {
  background-color: #3b2f26 !important;
  color: #f7f2ec !important;
}

.register-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #3b2f26;
  text-decoration: underline;
}

/* Chrome / Edge autofill fix */
.login-card input:-webkit-autofill,
.login-card input:-webkit-autofill:hover,
.login-card input:-webkit-autofill:focus,
.login-card input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #f5efe6 inset !important;
  -webkit-text-fill-color: #3b2f26 !important;
  transition: background-color 5000s ease-in-out 0s;
}
