body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f2f2f7;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 370px;
  margin: 80px auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 40px 32px 32px 32px;
  text-align: center;
  position: relative;
}
.apple-logo {
  width: 100px;
  margin-bottom: 18px;
  opacity: 0.8;
}
h1, h2 {
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
}
input {
  width: 100%;
  padding: 14px 16px;
  margin: 12px 0;
  border: none;
  border-radius: 14px;
  background: #f2f2f7;
  font-size: 1rem;
  box-sizing: border-box;
  outline: none;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
input:focus {
  box-shadow: 0 0 0 2px #007aff33;
}
button {
  width: 100%;
  padding: 14px 0;
  margin: 16px 0 8px 0;
  border: none;
  border-radius: 14px;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
button:hover {
  background: #222;
}
a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}
#login-error-message, #register-error-message {
  color: #e74c3c;
  margin-top: 10px;
  min-height: 18px;
}
@media (max-width: 500px) {
  .container {
    max-width: 98vw;
    padding: 18px 4vw;
  }
}
