/* MBA Aspirants — premium auth (login / register / password) */

.auth-shell {
  display: grid;
  min-height: calc(100dvh - 5rem);
  background: #f1f5f9;
}
@media (min-width: 960px) {
  .auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  }
}

.auth-shell__brand {
  display: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a 0%, #134e4a 45%, #0d9488 100%);
  color: #fff;
}
@media (min-width: 960px) {
  .auth-shell__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
  }
}
.auth-shell__brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(153,246,228,0.15), transparent 40%);
  pointer-events: none;
}
.auth-shell__brand-inner {
  position: relative;
  z-index: 1;
  max-width: 22rem;
}
.auth-shell__logo {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.auth-shell__tagline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.auth-shell__perks {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.auth-shell__perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: rgb(204 251 241 / 0.95);
  line-height: 1.45;
}
.auth-shell__perks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.auth-shell__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}
.auth-shell__card {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.07);
  padding: 2rem 1.75rem 1.75rem;
}

.auth-head__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0d9488;
}
.auth-head__title {
  margin: 0.5rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.auth-head__lead {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.55;
}

.auth-oauth {
  margin-top: 1.5rem;
}
.auth-oauth__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.auth-oauth__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.auth-oauth__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.auth-oauth__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.08);
  text-decoration: none !important;
}
.auth-oauth__btn--google:hover { border-color: #4285f4; }
.auth-oauth__btn--github:hover { border-color: #24292f; }
.auth-oauth__btn--facebook:hover { border-color: #1877f2; }
.auth-oauth__btn--linkedin:hover { border-color: #0a66c2; }
.auth-oauth__btn--microsoft:hover { border-color: #0078d4; }

.auth-oauth__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.auth-oauth__icon--google { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E"); }
.auth-oauth__icon--github { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2324292f'%3E%3Cpath d='M12 .5C5.73.5.98 5.24.98 11.5c0 4.85 3.15 8.96 7.51 10.41.55.1.75-.24.75-.53 0-.26-.01-1.13-.02-2.05-3.06.67-3.71-1.31-3.71-1.31-.5-1.27-1.22-1.61-1.22-1.61-.99-.68.08-.66.08-.66 1.09.08 1.67 1.12 1.67 1.12.98 1.67 2.56 1.19 3.18.91.1-.71.38-1.19.69-1.46-2.44-.28-5.01-1.22-5.01-5.43 0-1.2.43-2.18 1.13-2.95-.11-.28-.49-1.4.11-2.91 0 0 .92-.29 3.02 1.13a10.5 10.5 0 0 1 2.75-.37c.93 0 1.86.12 2.75.37 2.1-1.42 3.02-1.13 3.02-1.13.6 1.51.22 2.63.11 2.91.7.77 1.13 1.75 1.13 2.95 0 4.22-2.58 5.14-5.03 5.41.39.34.74 1.01.74 2.04 0 1.47-.01 2.65-.01 3.01 0 .29.2.64.76.53A10.51 10.51 0 0 0 23.02 11.5C23.02 5.24 18.27.5 12 .5z'/%3E%3C/svg%3E"); }
.auth-oauth__icon--facebook { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877F2'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E"); }
.auth-oauth__icon--linkedin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A66C2'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.062 2.062 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E"); }
.auth-oauth__icon--microsoft { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F25022' d='M1 1h10v10H1z'/%3E%3Cpath fill='%2300A4EF' d='M13 1h10v10H13z'/%3E%3Cpath fill='%237FBA00' d='M1 13h10v10H1z'/%3E%3Cpath fill='%23FFB900' d='M13 13h10v10H13z'/%3E%3C/svg%3E"); }

.auth-oauth--email-only .auth-oauth__note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}

/* Stacked social pills (reference-style login) */
.auth-pill-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.auth-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.auth-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.08);
  text-decoration: none !important;
  color: #0f172a;
}
.auth-pill--google:hover { border-color: #4285f4; }
.auth-pill--github:hover { border-color: #24292f; }
.auth-pill--facebook:hover { border-color: #1877f2; }
.auth-pill--linkedin:hover { border-color: #0a66c2; }
.auth-pill--microsoft:hover { border-color: #0078d4; }
.auth-pill--email:hover { border-color: #0d9488; }
.auth-pill--setup {
  border-style: dashed;
  border-color: #cbd5e1;
  background: #fafafa;
}
.auth-pill__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.auth-pill__icon--email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}
.auth-pill__icon--google { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E"); }
.auth-pill__icon--github { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2324292f'%3E%3Cpath d='M12 .5C5.73.5.98 5.24.98 11.5c0 4.85 3.15 8.96 7.51 10.41.55.1.75-.24.75-.53 0-.26-.01-1.13-.02-2.05-3.06.67-3.71-1.31-3.71-1.31-.5-1.27-1.22-1.61-1.22-1.61-.99-.68.08-.66.08-.66 1.09.08 1.67 1.12 1.67 1.12.98 1.67 2.56 1.19 3.18.91.1-.71.38-1.19.69-1.46-2.44-.28-5.01-1.22-5.01-5.43 0-1.2.43-2.18 1.13-2.95-.11-.28-.49-1.4.11-2.91 0 0 .92-.29 3.02 1.13a10.5 10.5 0 0 1 2.75-.37c.93 0 1.86.12 2.75.37 2.1-1.42 3.02-1.13 3.02-1.13.6 1.51.22 2.63.11 2.91.7.77 1.13 1.75 1.13 2.95 0 4.22-2.58 5.14-5.03 5.41.39.34.74 1.01.74 2.04 0 1.47-.01 2.65-.01 3.01 0 .29.2.64.76.53A10.51 10.51 0 0 0 23.02 11.5C23.02 5.24 18.27.5 12 .5z'/%3E%3C/svg%3E"); }
.auth-pill__icon--facebook { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877F2'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E"); }
.auth-pill__icon--linkedin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A66C2'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.062 2.062 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E"); }
.auth-pill__icon--microsoft { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F25022' d='M1 1h10v10H1z'/%3E%3Cpath fill='%2300A4EF' d='M13 1h10v10H13z'/%3E%3Cpath fill='%237FBA00' d='M1 13h10v10H1z'/%3E%3Cpath fill='%23FFB900' d='M13 13h10v10H13z'/%3E%3C/svg%3E"); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.35rem 0 1.15rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}
.auth-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
}
.auth-field input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.72rem 0.95rem;
  font-size: 0.9375rem;
  color: #0f172a;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.auth-field input:focus {
  outline: none;
  border-color: #14b8a6;
  background: #fff;
  box-shadow: 0 0 0 4px rgb(20 184 166 / 0.12);
}
.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.auth-field__error {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #dc2626;
}
.auth-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0d9488;
  text-decoration: none !important;
}
.auth-link:hover { color: #0f766e; }

.auth-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
  cursor: pointer;
}
.auth-check input {
  width: 1rem;
  height: 1rem;
  accent-color: #0d9488;
}

.auth-submit {
  margin-top: 0.25rem;
  width: 100%;
  border: none;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  box-shadow: 0 10px 24px rgb(13 148 136 / 0.25);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgb(13 148 136 / 0.3);
}

.auth-foot {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}
.auth-foot p { margin: 0.35rem 0 0; }
.auth-foot a { font-weight: 700; color: #0d9488; text-decoration: none !important; }
.auth-foot__muted { font-size: 0.8125rem; }

.auth-alerts { display: grid; gap: 0.5rem; margin-top: 1rem; }
.auth-alert {
  margin: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}
.auth-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.auth-alert--success, .auth-alert--info { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Legacy account/* password templates inside auth-shell */
.auth-page__eyebrow { margin: 0.5rem 0 0; font-size: 1.75rem; font-weight: 800; color: #0f172a; }
.auth-page__lead { margin: 0.5rem 0 0; color: #64748b; line-height: 1.55; }
.auth-page__form { display: grid; gap: 0.95rem; margin-top: 1.25rem; }
.auth-page__field label { display: block; margin-bottom: 0.35rem; font-size: 0.8125rem; font-weight: 700; color: #334155; }
.auth-page__field input { width: 100%; border-radius: 0.75rem; border: 1px solid #e2e8f0; background: #f8fafc; padding: 0.72rem 0.95rem; font-size: 0.9375rem; }
.auth-page__field input:focus { outline: none; border-color: #14b8a6; background: #fff; box-shadow: 0 0 0 4px rgb(20 184 166 / 0.12); }
.auth-page__errors { padding: 0.75rem; border-radius: 0.75rem; background: #fef2f2; color: #991b1b; font-size: 0.875rem; }
.auth-page__help { margin-top: 1rem; font-size: 0.875rem; color: #64748b; text-align: center; }
.auth-page__messages { display: grid; gap: 0.5rem; margin-top: 1rem; }
.auth-page__message { margin: 0; padding: 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; }
.auth-page__message--error { background: #fef2f2; color: #991b1b; }
.auth-page__message--success { background: #ecfdf5; color: #065f46; }

.auth-security {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1.25rem;
}
.auth-security__title { margin: 0; font-size: 1rem; font-weight: 700; }
.auth-security__text { margin: 0.35rem 0 0; font-size: 0.875rem; color: #64748b; }
.auth-security__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }

.auth-shell .auth-page__card,
.auth-shell__card .auth-page__card {
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: none;
}
