@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Quicksand:wght@500;600&display=swap");

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

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #f6f6f4 0%, #e8e4df 100%);
  color: #121212;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-card--wide {
  max-width: 560px;
}

.auth-container:has(.auth-card--wide) {
  max-width: 560px;
}

.auth-logo {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo img {
  height: 60px;
  width: auto;
}

h1 {
  font-family: "Quicksand", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 28px;
  font-size: 15px;
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #121212;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group small {
  font-size: 12px;
  color: #888;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.model-fields {
  padding-top: 8px;
}

.model-fields hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

.model-fields h3 {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.btn {
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #121212;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.auth-footer a {
  color: #121212;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 16px;
  }

  .auth-card {
    padding: 28px 24px;
  }

  .form-row,
  .form-row--three {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
  }
}

