/* ==========================================================================
   GrowTechSkill — auth.css   (login + register)
   ========================================================================== */

main > .auth-wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.auth-wrap {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(520px 320px at 88% 0%, rgba(37, 99, 235, .09), transparent 70%),
    radial-gradient(420px 280px at 4% 100%, rgba(56, 189, 248, .06), transparent 70%),
    var(--gts-surface) !important;
}
.auth-wrap > .container { width: 100%; }

.auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gts-line);
  border-radius: var(--gts-radius-lg);
  box-shadow: var(--gts-shadow-lg);
}
.auth-card::before {   /* brand accent along the top edge */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #16a34a 55%, #fbbf24);
}

.auth-card h3 { font-size: 1.65rem; }
.auth-card .feature-icon {
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .16);
}

.auth-card form { margin-top: 1.5rem; }
.auth-card form .btn { margin-top: .5rem; }

.auth-card a { font-weight: 600; text-decoration: none; }
.auth-card a:hover { text-decoration: underline; }

.social-auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
  color: var(--gts-muted, #6b7280);
  font-size: .8rem;
}
.social-auth-divider::before,
.social-auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--gts-line); }
.social-auth-buttons { display: grid; gap: .65rem; }
.social-auth-buttons form { margin: 0; }
.social-auth-button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 1px solid var(--gts-line);
  border-radius: .65rem;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.social-auth-button:hover { border-color: #94a3b8; background: #f8fafc; color: #111827; }
.social-auth-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
  box-shadow: none;
}
.social-auth-icon { font-size: 1.2rem; line-height: 1; }
.social-auth-button--google .social-auth-icon { color: #4285f4; }
.social-auth-button--linkedin .social-auth-icon { color: #0a66c2; }

@media (max-width: 575.98px) {
  .auth-card .card-body { padding: 1.5rem !important; }
}
