.auth-section {
  min-height: calc(100vh - 80px - 200px);
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1a1f35 0%, #2d3651 100%);
}

.auth-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
}

.auth-form-wrapper {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-form-wrapper.hidden {
  display: none;
}

.auth-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1f35;
  margin-bottom: 8px;
  text-align: center;
}

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

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

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

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

.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: #5AC09E;
  box-shadow: 0 0 0 3px rgba(90, 192, 158, 0.1);
}

.form-hint {
  font-size: 12px;
  color: #666;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #5AC09E;
}

.checkbox-label span {
  flex: 1;
}

.checkbox-label a {
  color: #5AC09E;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #4aa886;
}

.error-message {
  padding: 12px 16px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  color: #c33;
  font-size: 14px;
  display: none;
}

.error-message.show {
  display: block;
}

.success-message {
  padding: 12px 16px;
  background: #efe;
  border: 1px solid #cfc;
  border-radius: 8px;
  color: #3c3;
  font-size: 14px;
  display: none;
}

.success-message.show {
  display: block;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.btn-full:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

.auth-switch a {
  color: #5AC09E;
  text-decoration: none;
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .auth-section {
    padding: 40px 0;
  }

  .auth-form-wrapper {
    padding: 32px 24px;
  }

  .auth-title {
    font-size: 28px;
  }

  .auth-subtitle {
    font-size: 14px;
  }
}
