/* =======================================================
   Auth Card Styles - Centralized CSS for Lindex
   Used by: allauth pages (login, signup, etc.) and profile page
   ======================================================= */

.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  flex-basis: 520px;
}
.auth-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 15px;
}
.auth-card input[type=text],
.auth-card input[type=email],
.auth-card input[type=password],
.auth-card input[type=url],
.auth-card input[type=number],
.auth-card textarea,
.auth-card select {
  padding: 14px 16px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  background: #fff;
}
.auth-card input:focus,
.auth-card textarea:focus,
.auth-card select:focus {
  border-color: #0099ff;
  box-shadow: 0 0 0 3px rgba(0,153,255,0.25);
  outline: none;
}
.auth-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: 8px;
}
.auth-card .errorlist {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  list-style: none;
}
.auth-card .errorlist li {
  font-size: 14px;
  padding: 2px 0;
}
.auth-alert {
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.auth-alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.auth-alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}
.auth-alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
.auth-alert-error, .auth-alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.btn-login {
  background: #47b2e4;
  border: none;
  padding: 14px 30px;
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}
.btn-login:hover {
  background: #209dd8;
  color: #fff;
  text-decoration: none;
}
.auth-heading {
  color: #0099ff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.auth-hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}
.auth-panel {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.auth-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.auth-card a {
  color: #0099ff;
  font-weight: 500;
  text-decoration: none;
}
.auth-card a:hover {
  color: #0066cc;
  text-decoration: underline;
}
.form-group {
  margin-bottom: 16px;
}
.auth-card textarea {
  min-height: 100px;
  resize: vertical;
}