/* Authentication Template Styles using Design Tokens */

/* Base styles */
body {
  font-family: sans-serif;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: #ffffff;
  color: #000000;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  max-width: 200px;
  height: auto;
}

/* Typography */
h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #000000;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #000000;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333333;
}

/* Form elements */
form {
  margin-top: 12px;
}

label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000000;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  font-size: 16px;
  background-color: #ffffff;
  color: #000000;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #1890ff;
}

/* Buttons */
button[type="submit"],
.btn-primary,
.btn-secondary {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

button[type="submit"]:hover,
.btn-primary:hover,
.btn-secondary:hover {
  background-color: #fafafa;
  border-color: #333333;
  text-decoration: none;
}

/* Links */
a {
  color: #333333;
  text-decoration: none;
  font-size: 16px;
}

a:hover {
  color: #333333;
  text-decoration: underline;
}

/* Messages and errors */
.error,
.errorlist {
  color: #f5222d;
  margin-bottom: 16px;
  font-size: 14px;
  list-style: none;
  padding: 0;
}

.error li,
.errorlist li {
  margin-bottom: 8px;
}

.success {
  color: #333333;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
}

.info {
  color: #666666;
  font-size: 14px;
  margin-top: 16px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

/* Card container for forms */
.auth-container {
  background-color: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Button group for multiple buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Responsive styles */
@media (max-width: 640px) {
  body {
    padding: 15px;
    margin: 30px auto;
  }

  .auth-container {
    padding: 20px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }
}
