
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
}

.auth-form {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

h2 {
  text-align: center;
  margin-bottom: 1.8rem;
  color: #1a1a1a;
}

.form-group {
  margin-bottom: 1.4rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #444;
}

textarea,
input[type="phone"],
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}

button {
  width: 100%;
  padding: 1rem;
  background: #0066ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #0052cc;
}

.error {
  color: #d32f2f;
  background: #ffebee;
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  text-align: center;
}

.success {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  text-align: center;
}

.switch-auth {
  text-align: center;
  margin-top: 1.5rem;
  color: #555;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: #d32f2f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 1rem;
}

.container {
  text-align: center;
  padding: 3rem;
}