:root {
  --ea-bg: #07111f;
  --ea-card: rgba(15, 23, 42, 0.92);
  --ea-card-2: rgba(2, 6, 23, 0.86);
  --ea-border: rgba(245, 158, 11, 0.22);
  --ea-border-strong: rgba(245, 158, 11, 0.46);
  --ea-text: #f8fafc;
  --ea-muted: #cbd5e1;
  --ea-soft: #94a3b8;
  --ea-gold: #f59e0b;
  --ea-gold-2: #fbbf24;
  --ea-danger: #fb7185;
  --ea-success: #34d399;
}

.expertly-auth-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.78fr);
  gap: 28px;
  align-items: stretch;
  color: var(--ea-text);
}

.expertly-auth-shell-compact {
  grid-template-columns: minmax(320px, 620px);
  justify-content: center;
}

.expertly-auth-hero,
.expertly-auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ea-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.18), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(59, 130, 246, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.expertly-auth-hero {
  padding: clamp(34px, 5vw, 58px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.expertly-auth-hero::after {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.auth-badge,
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--ea-border);
  background: rgba(245, 158, 11, 0.09);
  color: var(--ea-gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.expertly-auth-hero h2,
.expertly-auth-card h1 {
  margin: 0;
  color: var(--ea-text);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.expertly-auth-hero h2 {
  max-width: 620px;
  font-size: clamp(40px, 5.2vw, 72px);
}

.expertly-auth-hero p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ea-muted);
  font-size: 17px;
  line-height: 1.75;
}

.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  position: relative;
  z-index: 1;
}

.auth-benefits div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.auth-benefits strong {
  display: block;
  color: var(--ea-gold-2);
  font-size: 13px;
  margin-bottom: 8px;
}

.auth-benefits span {
  display: block;
  color: var(--ea-text);
  font-weight: 700;
  line-height: 1.35;
}

/* Narrow-column fix: keep benefit cards readable inside the auth hero. */
.auth-benefits {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr));
}

.auth-benefits div {
  min-width: 0;
  padding: 17px 16px;
}

.auth-benefits span {
  font-size: clamp(14px, 1.35vw, 17px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.expertly-auth-card {
  padding: clamp(26px, 4vw, 44px);
}

.expertly-auth-card-center {
  text-align: center;
}

.expertly-auth-card h1 {
  font-size: clamp(34px, 4.2vw, 52px);
}

.auth-lead {
  margin: 16px 0 26px;
  color: var(--ea-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.expertly-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.expertly-auth-form label {
  display: grid;
  gap: 8px;
  color: var(--ea-muted);
  font-weight: 700;
  font-size: 13px;
}

.expertly-auth-form input[type='text'],
.expertly-auth-form input[type='email'],
.expertly-auth-form input[type='password'],
.expertly-auth-form input[type='tel'] {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--ea-text);
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.expertly-auth-form input:focus {
  border-color: var(--ea-border-strong);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  background: rgba(2, 6, 23, 0.92);
}

.expertly-auth-form input:-webkit-autofill,
.expertly-auth-form input:-webkit-autofill:hover,
.expertly-auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ea-text);
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px #0f172a inset;
}

.auth-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 4px;
}

.auth-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--ea-muted) !important;
  font-size: 13px !important;
  line-height: 1.5;
}

.auth-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--ea-gold);
  margin-top: 2px;
}

.auth-form-row a,
.auth-switch a,
.auth-terms a {
  color: var(--ea-gold-2);
  font-weight: 800;
  text-decoration: none;
}

.auth-form-row a:hover,
.auth-switch a:hover,
.auth-terms a:hover {
  text-decoration: underline;
}

.expertly-auth-submit,
.auth-link-button {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827 !important;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.26);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.expertly-auth-submit:hover,
.auth-link-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 20px 46px rgba(245, 158, 11, 0.34);
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--ea-muted);
  text-align: center;
}

.expertly-auth-notice {
  padding: 14px 15px;
  border-radius: 15px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
  color: var(--ea-muted);
}

.expertly-auth-notice.success {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.1);
  color: #bbf7d0;
}

.expertly-auth-notice.error,
.expertly-auth-notice.warning {
  border-color: rgba(251, 113, 133, 0.32);
  background: rgba(251, 113, 133, 0.1);
  color: #fecdd3;
}

.expertly-social-login {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ea-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(148, 163, 184, 0.18);
}

.expertly-social-provider,
.expertly-social-provider a,
.expertly-social-provider button {
  width: 100% !important;
  max-width: none !important;
}

.expertly-social-provider a,
.expertly-social-provider button,
.expertly-social-provider .nsl-button {
  border-radius: 16px !important;
  min-height: 50px !important;
  font-weight: 850 !important;
}


@media (max-width: 1180px) {
  .expertly-auth-shell {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.82fr);
    gap: 22px;
  }

  .expertly-auth-hero h2 {
    font-size: clamp(34px, 4.1vw, 58px);
  }

  .expertly-auth-hero p {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .auth-benefits div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 15px 16px;
  }

  .auth-benefits strong {
    margin-bottom: 0;
    min-width: 34px;
  }

  .auth-benefits span {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .expertly-auth-shell {
    grid-template-columns: 1fr;
    margin: 34px auto;
  }
  .expertly-auth-hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .expertly-auth-shell {
    width: min(100% - 18px, 1180px);
    margin: 20px auto;
  }
  .expertly-auth-card,
  .expertly-auth-hero {
    border-radius: 22px;
    padding: 22px;
  }
  .auth-benefits,
  .auth-two-col {
    grid-template-columns: 1fr;
  }
  .auth-form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Loginizer social login integration */
.expertly-social-loginizer,
.expertly-social-loginizer > *,
.expertly-social-loginizer iframe,
.expertly-social-loginizer form,
.expertly-social-loginizer div {
  max-width: 100% !important;
}

.expertly-social-loginizer {
  display: grid;
  gap: 10px;
}

.expertly-social-loginizer a,
.expertly-social-loginizer button,
.expertly-social-loginizer input[type='button'],
.expertly-social-loginizer input[type='submit'],
.expertly-social-loginizer .loginizer_social_login,
.expertly-social-loginizer .loginizer-social-login,
.expertly-social-loginizer .loginizer-social-btn,
.expertly-social-loginizer .lzs_login_button,
.expertly-social-loginizer .lz-social-btn,
.expertly-social-loginizer .social-login-button {
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  background: rgba(15, 23, 42, 0.78) !important;
  color: #f8fafc !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.expertly-social-loginizer a:hover,
.expertly-social-loginizer button:hover,
.expertly-social-loginizer input[type='button']:hover,
.expertly-social-loginizer input[type='submit']:hover {
  border-color: rgba(245, 158, 11, 0.48) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #ffffff !important;
}

.expertly-social-loginizer a,
.expertly-social-loginizer button,
.expertly-social-loginizer input[type='button'],
.expertly-social-loginizer input[type='submit'] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* Loginizer'in kendi -OR- ayiracini gizle; bizim formda zaten ayirac var. */
.expertly-social-loginizer .or,
.expertly-social-loginizer .OR,
.expertly-social-loginizer .separator,
.expertly-social-loginizer .loginizer-or,
.expertly-social-loginizer .loginizer_separator,
.expertly-social-loginizer .loginizer-social-separator,
.expertly-social-loginizer .lzs-or,
.expertly-social-loginizer .lzs-separator {
  display: none !important;
}

.expertly-social-loginizer img,
.expertly-social-loginizer svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex: 0 0 28px !important;
}

.expertly-social-loginizer i,
.expertly-social-loginizer .fa,
.expertly-social-loginizer .fab,
.expertly-social-loginizer .dashicons,
.expertly-social-loginizer .loginizer-social-icon,
.expertly-social-loginizer .lzs-social-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 26px !important;
  line-height: 30px !important;
}


/* ExpertlyEdu Auth v1.0.7 - Loginizer duplicate visual cleanup */
.expertly-social-loginizer {
  overflow: hidden;
}

/* Hide common Loginizer separators/icon-only rows; JS also handles unknown markup. */
.expertly-social-loginizer .loginizer-or,
.expertly-social-loginizer .loginizer_or,
.expertly-social-loginizer .loginizer-separator,
.expertly-social-loginizer .loginizer_separator,
.expertly-social-loginizer .social-separator,
.expertly-social-loginizer .social_separator,
.expertly-social-loginizer .or-separator,
.expertly-social-loginizer .or_separator,
.expertly-social-loginizer .loginizer-social-icons,
.expertly-social-loginizer .loginizer_social_icons,
.expertly-social-loginizer .lzs-social-icons,
.expertly-social-loginizer .lzs_social_icons,
.expertly-social-loginizer .social-login-icons,
.expertly-social-loginizer .social_login_icons,
.expertly-social-loginizer .social-icons,
.expertly-social-loginizer .social_icons,
.expertly-social-loginizer .expertly-auth-hide-social-duplicate {
  display: none !important;
}

/* Keep only full social buttons looking premium. */
.expertly-social-loginizer a,
.expertly-social-loginizer button,
.expertly-social-loginizer input[type='button'],
.expertly-social-loginizer input[type='submit'] {
  position: relative;
  min-height: 54px !important;
  margin: 8px 0 !important;
  padding: 12px 18px !important;
  font-size: 15px !important;
}

.expertly-social-loginizer img,
.expertly-social-loginizer svg,
.expertly-social-loginizer i,
.expertly-social-loginizer .fa,
.expertly-social-loginizer .fab,
.expertly-social-loginizer .dashicons {
  transform: scale(1.12);
}

.expertly-social-loginizer .expertly-auth-icon-only,
.expertly-social-loginizer .expertly-auth-icon-only * {
  display: none !important;
}


/* v1.0.9 - WordPress-native login stability + readable field fix */
.expertly-auth-form .expertly-field,
.expertly-auth-form > label:not(.auth-check) {
  position: relative;
  display: grid !important;
  gap: 9px !important;
  margin: 0 !important;
  min-width: 0;
}

.expertly-auth-form .expertly-field > span,
.expertly-auth-form > label:not(.auth-check) > span {
  display: block !important;
  color: #e2e8f0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  line-height: 1.25 !important;
  opacity: 1 !important;
}

.expertly-auth-form input[type='text'],
.expertly-auth-form input[type='email'],
.expertly-auth-form input[type='password'],
.expertly-auth-form input[type='tel'] {
  min-height: 54px !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  caret-color: #fbbf24 !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.expertly-auth-form input::placeholder {
  color: rgba(203, 213, 225, .58) !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

.expertly-auth-form input:focus::placeholder {
  color: rgba(251, 191, 36, .46) !important;
}

.expertly-auth-form input[type='hidden'],
.expertly-auth-form [hidden] {
  display: none !important;
}

/* Some security/social plugins inject small helper fields. Keep them readable if they appear. */
.expertly-auth-form p,
.expertly-auth-form .loginizer-note,
.expertly-auth-form .lzcaptcha,
.expertly-auth-form .loginizer-captcha {
  color: #cbd5e1 !important;
}

.expertly-auth-form .button,
.expertly-auth-form input[type='submit']:not(.expertly-auth-submit) {
  border-radius: 14px !important;
  border: 1px solid rgba(245, 158, 11, .35) !important;
  background: rgba(245, 158, 11, .12) !important;
  color: #f8fafc !important;
  font-weight: 800 !important;
}

@media (max-width: 520px) {
  .expertly-auth-form input[type='text'],
  .expertly-auth-form input[type='email'],
  .expertly-auth-form input[type='password'],
  .expertly-auth-form input[type='tel'] {
    min-height: 52px !important;
    font-size: 16px !important;
  }
}
