/* Authentication layout for the candidate account theme. */
.ny-account .ny-account-auth {
  --auth-ink: #0b1f33;
  --auth-muted: #5f6b7a;
  --auth-blue: #006eff;
  --auth-line: #dfe8f4;
  background: #ebf3ff;
}
.ny-account .ny-account-auth > .row { width: 100%; min-height: 100vh; margin: 0; align-items: stretch; }
.ny-account .ny-account-auth .auth-refresh__brand, .ny-account .ny-account-auth .auth-refresh__form-side { flex: 0 0 50%; max-width: 50%; min-width: 0; }
.ny-account .ny-account-auth .auth-refresh__brand { position: relative; display: block; overflow: hidden; background: linear-gradient(140deg, #e5f1ff 0%, #f7fbff 62%, #fff 100%); }
.ny-account .ny-account-auth .auth-refresh__brand::after { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 82%; content: ''; background: url("../img/ny-auth-motion.svg") no-repeat right center / contain; opacity: .82; pointer-events: none; }
.ny-account .ny-account-auth .auth-refresh__brand::before { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(90deg, #eaf4ff 0%, rgba(237,246,255,.96) 43%, rgba(237,246,255,0) 88%); pointer-events: none; }
.ny-account .ny-account-auth .auth-full-bg { z-index: 2; display: flex; align-items: center; width: 100%; min-height: 100vh; height: auto !important; padding: 96px clamp(30px, 4vw, 76px) 56px !important; background: transparent !important; }
.ny-account .ny-account-auth .auth-full-bg::before { display: none; }
.ny-account .ny-account-auth .auth-full-bg .bg-overlay { z-index: 0; background: none !important; opacity: 0 !important; pointer-events: none; }
.ny-account .ny-account-auth .auth-full-bg .bg-overlay[style] { opacity: .14 !important; }
.ny-account .ny-account-auth .auth-full-bg .w-100 { position: static; min-width: 0; }
.ny-account .ny-account-auth .auth-review-carousel { position: relative; z-index: 1; }
.ny-account .ny-account-auth .auth-full-bg .h-100 { height: auto !important; }
.ny-account .ny-account-auth__back { top: 24px; left: clamp(20px, 3vw, 48px); right: auto; display: inline-flex; align-items: center; justify-content: flex-start; width: fit-content; min-height: 44px; max-width: calc(100% - 40px); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ny-account .ny-account-auth__back:hover { border: 0; background: transparent; box-shadow: none; opacity: .78; }
.ny-account .ny-account-auth__back img { display: block; width: auto; max-width: min(180px, 100%); height: auto; max-height: 44px; object-fit: contain; filter: brightness(0) saturate(100%) invert(25%) sepia(91%) saturate(2545%) hue-rotate(207deg) brightness(89%) contrast(95%); }
.ny-account .ny-account-auth__back:focus-visible { outline-offset: 5px; border-radius: 4px; }
.ny-account .ny-account-auth .auth-full-bg .row.justify-content-center { justify-content: flex-start !important; }
.ny-account .ny-account-auth .auth-full-bg .row > .col-lg-7 { flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
.ny-account .ny-account-auth .auth-review-carousel { max-width: 510px; margin: 0; }
.ny-account .ny-account-auth .auth-review-carousel .text-center { text-align: left !important; }
.ny-account .ny-account-auth .auth-review-carousel .py-3 { padding: 0 !important; }
.ny-account .ny-account-auth .auth-review-carousel h1 { margin: 0 0 16px; color: #0b1f33 !important; font-size: clamp(32px, 3vw, 46px); font-weight: 700; line-height: 1.3; }
.ny-account .ny-account-auth .auth-review-carousel p { max-width: 440px; margin: 0; color: #56667b !important; font-size: 14px; line-height: 1.85; }
.ny-account .ny-account-auth .auth-refresh__form-side { display: flex; align-items: center; background: #ebf3ff; }
.ny-account .ny-account-auth .auth-full-page-content { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 100vh; padding: 45px clamp(22px, 3vw, 54px) !important; }
.ny-account .ny-account-auth .login_right.auth-refresh__card { width: 100% !important; max-width: 490px; height: auto; margin: 0 auto !important; padding: 32px 34px 28px; border: 1px solid #fff; border-radius: 12px; background: #fff; box-shadow: 0 22px 56px rgba(37,82,151,.1); }
.ny-account .ny-account-auth .auth-refresh__card > .d-flex { height: auto !important; }
.ny-account .ny-account-auth .auth-refresh__card .my-auto { margin: 0 !important; }
.ny-account .ny-account-auth .auth-refresh__logo { margin-bottom: 2px; }
.ny-account .ny-account-auth__card-brand { color: #0053d8; font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.ny-account .ny-account-auth .auth-refresh__intro { margin-bottom: 24px; text-align: center; }
.ny-account .ny-account-auth .auth-refresh__intro h2 { margin: 5px 0 0; color: #0b1f33; font-size: 27px; line-height: 1.3; font-weight: 700; }
.ny-account .ny-account-auth .auth-refresh__intro p { margin: 9px 0 0; }
.ny-account .auth-refresh--login .login_right.auth-refresh__card { max-width: 440px; padding: 30px 32px 28px; }
.ny-account .auth-refresh--login .auth-refresh__intro { margin-bottom: 21px; }
.ny-account .auth-refresh--login .auth-refresh__intro h2 { margin: 0; font-size: 28px; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom { display: flex; padding: 5px; margin: 0 0 22px; border: 0 !important; border-radius: 7px; background: #f0f2f6; box-shadow: none !important; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item { flex: 1 1 0; min-width: 0; border: 0 !important; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item .nav-link { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 5px 6px; border: 0 !important; border-bottom: 0 !important; border-radius: 6px; background: transparent !important; color: #526174; font-size: 13px; line-height: 1.4; box-shadow: none !important; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item .nav-link.active, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item .nav-link.active:hover { background: #006eff !important; color: #fff; box-shadow: 0 4px 10px rgba(0,110,255,.22) !important; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item .nav-link:not(.active):hover { color: #0053d8; background: #e4eaf4 !important; }
.ny-account .ny-account-auth .affs-nav.nav-tabs-custom::before, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom::after, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item::before, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-item::after, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-link::before, .ny-account .ny-account-auth .affs-nav.nav-tabs-custom .nav-link::after { content: none !important; display: none !important; }
.ny-account .ny-account-auth .form-group { margin-bottom: 16px; }
.ny-account .ny-account-auth .form-group label { display: inline-block; margin-bottom: 7px; color: #1f2d3d; font-size: 13px; font-weight: 600; }
.ny-account .ny-account-auth .form-control { min-height: 44px; height: 44px; padding: 9px 13px; border: 1px solid #dbe4ef; border-radius: 6px; background: #fafbfe; color: #1f2d3d; box-shadow: none; }
.ny-account .ny-account-auth textarea.form-control { height: auto; min-height: 96px; }
.ny-account .ny-account-auth .form-control::placeholder { color: #9aa6b5; }
.ny-account .ny-account-auth .form-control:focus, .ny-account .ny-account-auth select:focus { border-color: #006eff; box-shadow: 0 0 0 3px rgba(0,110,255,.12); }
.ny-account .ny-account-auth .input-group-prepend { flex: 0 0 136px; width: 136px; min-width: 0; }
.ny-account .ny-account-auth .input-group-prepend .form-control { width: 100%; padding-right: 26px; border-radius: 6px 0 0 6px; background: #edf3fb; }
.ny-account .ny-account-auth .input-group-prepend .select2-container { flex: 0 0 100%; width: 100% !important; min-width: 0; }
.ny-account .ny-account-auth .input-group-prepend .select2-selection--single { height: 44px; border-color: #dbe4ef; border-radius: 6px 0 0 6px; background: #edf3fb; }
.ny-account .ny-account-auth .input-group-prepend .select2-selection__rendered { overflow: hidden; padding: 0 30px 0 10px; line-height: 42px; text-overflow: ellipsis; white-space: nowrap; }
.ny-account .ny-account-auth .input-group-prepend .select2-selection__arrow { height: 42px; width: 24px; right: 2px; }
.ny-account .ny-account-auth .input-group-prepend + .form-control { flex: 1 1 0; width: 1%; min-width: 0; border-radius: 0 6px 6px 0; }
.ny-account .ny-account-auth .input-group-append { min-height: 44px; height: 44px; }
.ny-account .ny-account-auth .input-group-append .btn { height: 44px; border-radius: 0 6px 6px 0; }
.ny-account .ny-account-auth .btn-primary { border-color: #0066e8; border-radius: 6px; background: linear-gradient(110deg, #0066e8, #0053d8); color: #fff; }
.ny-account .ny-account-auth .btn-primary:hover { border-color: #0053d8; background: #0053d8; }
.ny-account .ny-account-auth .btn-block { min-height: 44px; }
.ny-account .ny-account-auth .mt-5.text-center { margin-top: 22px !important; font-size: 12px; }
.ny-account .ny-account-auth .mt-5.text-center p { margin-bottom: 9px; }
.ny-account .ny-account-auth .auth-refresh__home { display: none; }
.ny-account .ny-account-auth .text-primary { color: #0053d8 !important; }
.ny-account .ny-account-auth .allow_login_code_captcha { display: none; }
@media (max-width: 991px) {
  .ny-account .ny-account-auth .auth-refresh__brand, .ny-account .ny-account-auth .auth-refresh__form-side { flex: 0 0 100%; max-width: 100%; }
  .ny-account .ny-account-auth > .row { min-height: 0; }
  .ny-account .ny-account-auth .auth-full-bg { min-height: 240px; height: auto !important; padding: 100px 36px 30px !important; }
  .ny-account .ny-account-auth .auth-full-page-content { min-height: 0; padding: 32px 24px 46px !important; }
  .ny-account .ny-account-auth .auth-refresh__brand::after { width: 68%; background-position: right center; opacity: .6; }
}
@media (max-width: 767px) {
  .ny-account .ny-account-auth__back { top: 16px; left: 20px; }
  .ny-account .ny-account-auth__back img { max-width: 144px; max-height: 38px; }
  .ny-account .ny-account-auth .auth-refresh__brand.bglogo { display: block !important; }
  .ny-account .ny-account-auth .auth-full-bg { min-height: 200px; height: auto !important; padding: 82px 20px 22px !important; }
  .ny-account .ny-account-auth .auth-refresh__brand::after { width: 55%; opacity: .36; }
  .ny-account .ny-account-auth .auth-review-carousel p { max-width: 80%; }
  .ny-account .ny-account-auth .auth-review-carousel h1 { font-size: 27px; }
  .ny-account .ny-account-auth .auth-review-carousel p { font-size: 12px; }
  .ny-account .ny-account-auth .auth-full-page-content { padding: 22px 16px 42px !important; }
  .ny-account .ny-account-auth .login_right.auth-refresh__card { max-width: 540px; padding: 27px 22px; }
  .ny-account .auth-refresh--login .login_right.auth-refresh__card { max-width: 440px; padding: 27px 22px; }
}
@media (max-width: 390px) {
  .ny-account .ny-account-auth .input-group-prepend { flex-basis: 118px; width: 118px; }
  .ny-account .ny-account-auth .auth-review-carousel h1 { font-size: 24px; }
  .ny-account .ny-account-auth .auth-review-carousel p { max-width: 100%; }
  .ny-account .ny-account-auth .login_right.auth-refresh__card { padding: 24px 18px; }
  .ny-account .auth-refresh--login .login_right.auth-refresh__card { padding: 24px 18px; }
}
/* ---------- login dynamic background ---------- */
@keyframes ny-auth-drift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 50%; }
  100% { background-position: 10% 12%, 90% 84%, 50% 50%; }
}
.ny-account .ny-account-auth .auth-refresh__brand {
  background:
    radial-gradient(46% 42% at 76% 26%, rgba(0,110,255,.10), rgba(0,110,255,0) 70%),
    radial-gradient(56% 48% at 14% 82%, rgba(83,155,255,.12), rgba(83,155,255,0) 70%),
    linear-gradient(140deg, #e5f1ff 0%, #f7fbff 62%, #fff 100%);
  background-size: 150% 150%, 150% 150%, 100% 100%;
  animation: ny-auth-drift 18s ease-in-out infinite alternate;
}
.ny-account .ny-account-auth .auth-refresh__form-side {
  background:
    radial-gradient(44% 40% at 86% 14%, rgba(0,110,255,.07), rgba(0,110,255,0) 70%),
    radial-gradient(52% 46% at 10% 88%, rgba(83,155,255,.08), rgba(83,155,255,0) 70%),
    #ebf3ff;
  background-size: 150% 150%, 150% 150%, 100% 100%;
  animation: ny-auth-drift 24s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .ny-account .ny-account-auth *, .ny-account .ny-account-auth *::before, .ny-account .ny-account-auth *::after { animation: none !important; transition: none !important; }
}
