/* Account / allauth / MFA / social - card forms & SSO */
.dbm-site .card {
  border: 1px solid var(--dbm-border, #dee2e6);
  border-radius: 0.65rem;
  box-shadow: 0 8px 28px rgba(26, 29, 33, 0.06);
  background: #fff;
}

.dbm-site .card .card-title {
  color: var(--dbm-ink, #1a1d21);
}

.card input[type="text"],
.card input[type="email"],
.card input[type="password"],
.card input[type="url"],
.card input[type="number"],
.card input[type="tel"],
.card input[type="search"],
.card select,
.card textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
  color: var(--dbm-ink, #1a1d21);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--dbm-border, #dee2e6);
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card input:focus,
.card select:focus,
.card textarea:focus {
  border-color: var(--dbm-teal, #00afb2);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 175, 178, 0.18);
}

.card input[type="hidden"] {
  display: none !important;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-inline input[type="checkbox"] {
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  flex-shrink: 0;
  appearance: auto;
}

.check-inline label {
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}

.btn-sso-google {
  background-color: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
}

.btn-sso-google:hover,
.btn-sso-google:focus {
  background-color: #f7f8f8;
  color: #3c4043;
  border-color: #c6c9cc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-sso-microsoft {
  background-color: #2f2f2f;
  color: #fff;
  border: 1px solid #505050;
}

.btn-sso-microsoft:hover,
.btn-sso-microsoft:focus {
  background-color: #3a3a3a;
  color: #fff;
  border-color: #666;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-sso-saml {
  background-color: #1a5276;
  color: #fff;
  border: 1px solid #2e86c1;
}

.btn-sso-saml:hover,
.btn-sso-saml:focus {
  background-color: #21618c;
  color: #fff;
  border-color: #3498db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--dbm-muted, #5c636a);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--dbm-border, #dee2e6);
}
