/* =============================================================================
   Take Off Asia — Modern Auth (Login / Signup)
   Brand: Red #E31C23 · Yellow #F5C400
   ============================================================================= */

:root {
  --toa-red: #E31C23;
  --toa-red-dark: #B8141A;
  --toa-yellow: #F5C400;
  --toa-ink: #0a1324;
  --toa-muted: #64748b;
  --toa-line: rgba(15, 23, 42, 0.08);
  --toa-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.login-page.admin_v1.skin-custom-sf {
  background: #f7f6f3 !important;
  font-family: "Manrope", "Ubuntu", "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body.login-page.admin_v1.skin-custom-sf .box-holder {
  display: flex !important;
  height: 100%;
  width: 100%;
}

body.login-page.admin_v1.skin-custom-sf .box-holder .box-left {
  width: 42%;
  max-width: 520px;
  float: none !important;
  background: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  box-shadow: 24px 0 48px -32px rgba(10, 19, 36, 0.28);
  z-index: 5;
  overflow-y: auto;
}

body.login-page.admin_v1.skin-custom-sf .box-holder .box-right {
  flex: 1 1 auto;
  float: none !important;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

body.login-page.admin_v1.skin-custom-sf .box-holder .box-left .login-box {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

body.login-page.admin_v1.skin-custom-sf .box-holder .box-left .login-logo {
  width: auto !important;
  max-width: 180px;
  height: auto !important;
  margin: 0 auto 28px !important;
  text-align: center;
}

body.login-page.admin_v1.skin-custom-sf .box-holder .box-left .login-logo img {
  width: auto !important;
  max-width: 180px;
  max-height: 72px;
  height: auto !important;
  object-fit: contain;
}

body.login-page.admin_v1.skin-custom-sf .login-box-body {
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.login-page.admin_v1.skin-custom-sf .login-box-msg,
body.login-page.admin_v1.skin-custom-sf .ns-auth-title {
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--toa-ink);
  text-align: center;
  margin: 0 0 8px;
}

body.login-page.admin_v1.skin-custom-sf .ns-auth-sub {
  text-align: center;
  color: var(--toa-muted);
  font-size: 0.92rem;
  margin: 0 0 24px;
}

body.login-page.admin_v1.skin-custom-sf .form-group {
  margin-bottom: 14px;
}

body.login-page.admin_v1.skin-custom-sf .form-control,
body.login-page.admin_v1.skin-custom-sf .select2-container--default .select2-selection--single {
  height: 48px !important;
  border-radius: 12px !important;
  border: 1px solid var(--toa-line) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-size: 0.95rem !important;
  transition: border-color 0.25s var(--toa-ease), box-shadow 0.25s var(--toa-ease), background 0.25s var(--toa-ease);
}

body.login-page.admin_v1.skin-custom-sf .form-control:focus {
  border-color: rgba(227, 28, 35, 0.45) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(227, 28, 35, 0.1) !important;
}

body.login-page.admin_v1.skin-custom-sf .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px !important;
  padding-left: 14px !important;
  color: var(--toa-ink);
}

body.login-page.admin_v1.skin-custom-sf .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
}

body.login-page.admin_v1.skin-custom-sf .has-feedback .form-control {
  padding-right: 42px;
}

body.login-page.admin_v1.skin-custom-sf .form-control-feedback,
body.login-page.admin_v1.skin-custom-sf .has-feedback .form-control-feedback {
  height: 48px;
  line-height: 48px !important;
  color: #94a3b8 !important;
  width: 42px;
  right: 0;
}

body.login-page.admin_v1.skin-custom-sf .btn-primary,
body.login-page.admin_v1.skin-custom-sf .btn.btn-primary {
  background: var(--toa-red) !important;
  border: none !important;
  border-radius: 12px !important;
  height: 50px;
  font-weight: 750 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  box-shadow: 0 14px 28px -14px rgba(227, 28, 35, 0.7);
  transition: transform 0.25s var(--toa-ease), box-shadow 0.25s var(--toa-ease), background 0.25s var(--toa-ease) !important;
}

body.login-page.admin_v1.skin-custom-sf .btn-primary:hover,
body.login-page.admin_v1.skin-custom-sf .btn-primary:focus,
body.login-page.admin_v1.skin-custom-sf .btn-primary:active {
  background: var(--toa-red-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(227, 28, 35, 0.8) !important;
  border: none !important;
}

body.login-page.admin_v1.skin-custom-sf a {
  color: var(--toa-red) !important;
  font-weight: 650;
}

body.login-page.admin_v1.skin-custom-sf a:hover {
  color: var(--toa-red-dark) !important;
}

body.login-page.admin_v1.skin-custom-sf .checkbox {
  margin-top: 16px;
  text-align: center;
}

body.login-page.admin_v1.skin-custom-sf .checkbox label {
  padding-left: 0;
}

/* Right panel */
body.login-page.admin_v1.skin-custom-sf .box-right .transparent {
  background:
    linear-gradient(120deg, rgba(10, 19, 36, 0.72) 0%, rgba(10, 19, 36, 0.35) 45%, rgba(227, 28, 35, 0.35) 100%) !important;
  z-index: 2;
}

body.login-page.admin_v1.skin-custom-sf .box-right .cover.custom-bg {
  z-index: 1;
  transform: scale(1.04);
  animation: toaAuthKen 18s ease-in-out infinite alternate;
}

@keyframes toaAuthKen {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.ns-auth-hero {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 48px 56px;
  color: #fff;
  pointer-events: none;
}

.ns-auth-hero-inner {
  max-width: 460px;
  animation: toaAuthRise 0.9s var(--toa-ease) both;
}

@keyframes toaAuthRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.ns-auth-kicker {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--toa-yellow);
  margin-bottom: 14px;
}

.ns-auth-hero h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #fff;
}

.ns-auth-hero h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--toa-red), var(--toa-yellow));
}

.ns-auth-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 38ch;
}

.ns-auth-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ns-auth-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.ns-auth-points li i {
  color: var(--toa-yellow);
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  body.login-page.admin_v1.skin-custom-sf .box-holder {
    flex-direction: column;
  }

  body.login-page.admin_v1.skin-custom-sf .box-holder .box-left {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 32px 20px 40px;
    box-shadow: none;
  }

  body.login-page.admin_v1.skin-custom-sf .box-holder .box-right {
    min-height: 280px;
    order: -1;
  }

  .ns-auth-hero {
    padding: 28px 24px;
    align-items: flex-end;
  }

  .ns-auth-hero h2 {
    font-size: 1.45rem;
  }

  .ns-auth-points {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.login-page.admin_v1.skin-custom-sf .box-right .cover.custom-bg,
  .ns-auth-hero-inner {
    animation: none !important;
  }
}
