/* ==========================================================================
   MATGARI — Authentication Layout
   Minimal, Centered Marketplace Authentication Card
   ========================================================================== */

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 24px 16px 48px;
  direction: ltr;
}

.auth-side {
  display: none; /* Centered layout per spec 18 & 19 */
}

.auth-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-brand-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.auth-brand-header:hover {
  text-decoration: none;
}

.auth-brand-header span.tld {
  color: var(--accent);
  font-size: 15px;
  margin-inline-start: -4px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.auth-card .field {
  margin-bottom: 16px;
}

.auth-card .field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.auth-card .input {
  height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  font-size: 14px;
  width: 100%;
}

.auth-card .input:focus {
  border-color: #E77600;
  box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.4);
}

.auth-submit {
  width: 100%;
  height: 40px;
  background-color: var(--accent);
  color: #111111;
  border: 1px solid var(--accent-hover);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 16px;
  transition: background-color 150ms ease;
}

.auth-submit:hover {
  background-color: var(--accent-hover);
}

.auth-disclaimer {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.auth-switch {
  width: 100%;
  max-width: 380px;
  position: relative;
  text-align: center;
  margin-bottom: 16px;
}

.auth-switch-divider {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 380px;
  margin-bottom: 16px;
}

.auth-switch-divider::before,
.auth-switch-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-switch-divider span {
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  height: 38px;
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08);
  transition: background-color 150ms ease, border-color 150ms ease;
}

.auth-secondary-btn:hover {
  background-color: var(--surface);
  border-color: var(--border-dark);
  text-decoration: none;
  color: var(--text-primary);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}
