/* Fonts are loaded via <link> in auth views — avoid @import so rules below always apply. */

/* Final Remynd4 login spec: deep navy + turquoise accent (~#40E0D0), 60/40 split */
:root {
  --rl-navy: #00001a;
  --rl-navy-soft: #0a1224;
  --rl-cyan: #40e0d0;
  --rl-cyan-bright: #5eeadb;
  --rl-cyan-muted: rgba(64, 224, 208, 0.85);
  --rl-link: #2ebfb0;
  --rl-link-hover: #40e0d0;
  --rl-form-border: #e2e5eb;
  --rl-form-muted: #6b7280;
  --rl-form-label: #374151;
  --rl-form-text: #111827;
}

body.remynd-login-page {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  margin: 0;
  min-height: 100vh;
  color: var(--rl-form-text);
}

.remynd-login-page .remynd-login-headline,
.remynd-login-page .remynd-login-feature-title,
.remynd-login-page .remynd-login-signin-title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.remynd-login-page #wrapper.parent {
  position: static;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.remynd-login-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.remynd-login-brand img {
  display: block;
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: min(300px, 82vw);
  object-fit: contain;
}

.remynd-login-layout {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: min(100vh, 900px);
  background: #fff;
}

/* Left: brand panel (~60%) — background image from inline style on .remynd-login-hero--branded */
.remynd-login-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  flex: 1 1 auto;
  color: #fff;
  padding: 28px 32px 36px;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(160deg, #060a16 0%, #121a2e 100%);
}

.remynd-login-hero.remynd-login-hero--branded {
  background-color: #060a16;
}

/* Flush bottom bar only when the three-column strip exists (login page) */
.remynd-login-hero.remynd-login-hero--branded:has(.remynd-login-hero-features) {
  padding-bottom: 0;
}

.remynd-login-hero--branded::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 18, 0.42) 0%,
    rgba(0, 0, 18, 0.18) 50%,
    rgba(0, 0, 18, 0.05) 100%
  );
  pointer-events: none;
}

.remynd-login-hero-top,
.remynd-login-hero-inner {
  position: relative;
  z-index: 1;
}

.remynd-login-hero-features {
  position: relative;
  z-index: 2;
}

.remynd-login-hero-inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0 32px;
  max-width: 520px;
}

.remynd-login-headline {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 0.98;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.remynd-login-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(134, 241, 255, 0.12);
  border: 1px solid rgba(134, 241, 255, 0.22);
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--rl-cyan-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.remynd-login-hero-inner h1:not(.remynd-login-headline) {
  margin: 0 0 12px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.remynd-login-hero .hero-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

/* Three columns at bottom of hero — same section as headline/wave (no divider bar) */
.remynd-login-hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 28px;
  justify-items: stretch;
  align-content: end;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 0 28px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.remynd-login-feature-col {
  text-align: left;
  max-width: 22rem;
}

.remynd-login-feature-col p {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #f8fafc;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.remynd-login-feature-title {
  margin: 0;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(1.15rem, 1.85vw, 1.45rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.12em;
  color: var(--rl-cyan);
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* Right: form column (~40%) */
.remynd-login-aside {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 28px 28px 40px;
  box-sizing: border-box;
  background: #fff;
  position: relative;
}

.remynd-login-lang {
  position: absolute;
  top: 20px;
  right: 24px;
  text-align: right;
  z-index: 2;
}

.remynd-login-lang .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0 !important;
  font-size: 0.8125rem;
  color: #9ca3af !important;
  font-weight: 400;
}

.remynd-login-lang-icon {
  font-size: 1rem;
  opacity: 0.9;
  color: #9ca3af;
}

.remynd-login-lang .dropdown-toggle::after {
  color: #9ca3af;
  vertical-align: 0.12em;
}

.remynd-login-page .dropdown-menu {
  background: #fff;
  border: 1px solid var(--rl-form-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.remynd-login-page .dropdown-item {
  color: var(--rl-form-text);
}

.remynd-login-page .dropdown-item:hover,
.remynd-login-page .dropdown-item:focus {
  background: rgba(45, 212, 191, 0.12);
  color: var(--rl-navy);
}

.remynd-login-page .loginBox {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: transparent;
}

.remynd-login-page .loginBox.remynd-login-card {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.remynd-login-page .wrap {
  padding: 56px 4px 32px;
}

.remynd-login-page .client-logo.img-thumbnail {
  max-height: 64px;
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  margin-bottom: 8px;
}

.remynd-login-card-head {
  text-align: left;
  margin-bottom: 28px;
}

.remynd-login-signin-title {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  line-height: 0.95;
  margin: 0 0 10px;
  color: var(--rl-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.remynd-login-card-head .sub {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  max-width: 22rem;
}

.remynd-login-page #return_msg.remynd-login-return-msg,
.remynd-login-page .remynd-login-return-msg {
  margin: 6px 0 16px;
  text-align: right;
}

/* Server / AJAX notices — no panel fill; copy right-aligned (matches requested look) */
.remynd-login-page .remynd-login-flash {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 26px 4px 4px;
  margin: 0 !important;
  position: relative;
  font-size: 0.8125rem;
  line-height: 1.4;
  border: none;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.remynd-login-page .remynd-login-flash__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  margin-top: 1px;
  opacity: 0.85;
}

.remynd-login-page .remynd-login-flash__body {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: right;
}

.remynd-login-page .remynd-login-flash__text {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: right;
}

.remynd-login-page .remynd-login-flash--error {
  background: transparent !important;
}

.remynd-login-page .remynd-login-flash--error .remynd-login-flash__icon {
  color: #b91c1c;
}

.remynd-login-page .remynd-login-flash--error .remynd-login-flash__text {
  color: #b91c1c;
}

.remynd-login-page .remynd-login-flash--success {
  background: transparent !important;
}

.remynd-login-page .remynd-login-flash--success .remynd-login-flash__icon {
  color: #15803d;
}

.remynd-login-page .remynd-login-flash--success .remynd-login-flash__text {
  color: #15803d;
}

.remynd-login-page .remynd-login-flash--warning {
  background: transparent !important;
}

.remynd-login-page .remynd-login-flash--warning .remynd-login-flash__icon {
  color: #b45309;
}

.remynd-login-page .remynd-login-flash--warning .remynd-login-flash__text {
  color: #b45309;
}

.remynd-login-page .remynd-login-flash__close {
  position: absolute;
  top: 2px;
  right: 0;
  padding: 0 4px;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 400;
  color: #9ca3af;
  opacity: 0.7;
  text-shadow: none;
}

.remynd-login-page .remynd-login-flash__close:hover,
.remynd-login-page .remynd-login-flash__close:focus {
  opacity: 0.85;
  outline: none;
}

.remynd-login-page #admincmnform label.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 800 !important;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* Icon + input live in __input-wrap; Parsley errors go to .remynd-parsley-errors-host so icons stay vertically centered. */
.remynd-input-icon {
  display: block;
  width: 100%;
}

.remynd-input-icon__input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.remynd-input-icon__input-wrap > .mdi:first-child {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  color: #9ca3af;
  pointer-events: none;
  z-index: 2;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remynd-password-toggle {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: #9ca3af;
  border-radius: 8px;
  line-height: 1;
  z-index: 4;
}

.remynd-password-toggle:hover,
.remynd-password-toggle:focus {
  color: var(--rl-navy);
  outline: none;
  background: rgba(15, 23, 42, 0.06);
}

.remynd-password-toggle .mdi {
  font-size: 1.25rem;
  pointer-events: none;
}

.remynd-login-page #admincmnform input.form-control,
.remynd-login-page #admincmnform textarea.form-control {
  border: 1px solid var(--rl-form-border) !important;
  border-radius: 10px !important;
  /* Longhand so icon rows can override horizontal padding (shorthand was resetting padding-left). */
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-size: 0.9375rem !important;
  color: var(--rl-form-text) !important;
  margin-bottom: 0;
  background: #fff !important;
  box-shadow: none !important;
  display: block;
  width: 100%;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

/* Must beat #admincmnform input specificity — leaves room for leading icon + trailing controls */
.remynd-login-page #admincmnform .remynd-input-icon:not(.remynd-input-icon--password) .remynd-input-icon__input-wrap input.form-control {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.remynd-login-page #admincmnform .remynd-input-icon--password .remynd-input-icon__input-wrap input.form-control {
  padding-left: 3rem !important;
  padding-right: 6rem !important;
}

.remynd-login-page #admincmnform .remynd-parsley-errors-host {
  min-height: 0;
}

.remynd-login-page #admincmnform input.form-control:-webkit-autofill,
.remynd-login-page #admincmnform input.form-control:-webkit-autofill:hover,
.remynd-login-page #admincmnform input.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--rl-form-text) !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 99999s ease-out;
}

.remynd-login-page #admincmnform .remynd-form-field {
  margin-bottom: 22px;
}

.remynd-login-page #admincmnform .parsley-errors-list {
  width: 100%;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  text-align: right !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  clear: both;
  list-style: none !important;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  color: #b91c1c !important;
  font-family: inherit !important;
  font-weight: 500;
}

.remynd-login-page #admincmnform .parsley-errors-list li {
  text-align: right !important;
  margin: 0 !important;
}

.remynd-login-page #admincmnform input.parsley-error,
.remynd-login-page #admincmnform textarea.parsley-error {
  background-color: #ffffff !important;
  border-color: #fca5a5 !important;
  color: var(--rl-form-text) !important;
}

/* Space between email block and password label (final design spacing) */
.remynd-login-page #admincmnform .remynd-form-field + .remynd-form-field {
  margin-top: 18px;
}

.remynd-login-page #admincmnform #otpbox {
  margin-bottom: 18px;
}

.remynd-login-page #admincmnform .remynd-login-options-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 1.35rem;
  width: 100%;
}

.remynd-login-page #admincmnform .remynd-login-options-row__left,
.remynd-login-page #admincmnform .remynd-login-options-row__right {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-height: 24px;
}

.remynd-login-page #admincmnform .remynd-login-options-row__right {
  margin-left: auto;
  justify-content: flex-end;
}

.remynd-login-page #admincmnform .remynd-login-options-row__right a {
  line-height: 1.25;
  padding: 2px 0;
  white-space: nowrap;
}

.remynd-login-page #admincmnform #otpbox .form-control {
  margin-bottom: 8px;
}

.remynd-login-page #admincmnform button.form-control {
  border-radius: 10px !important;
}

.remynd-login-page #admincmnform input.form-control::placeholder,
.remynd-login-page #admincmnform textarea.form-control::placeholder {
  color: #9ca3af;
}

.remynd-login-page #admincmnform input.form-control:focus,
.remynd-login-page #admincmnform textarea.form-control:focus {
  border-color: var(--rl-cyan) !important;
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.22) !important;
}

.remynd-login-page #admincmnform .form-control.submit,
.remynd-login-page #admincmnform .form-control.submit:hover {
  background: var(--rl-navy) !important;
  border: 1px solid var(--rl-navy) !important;
  border-radius: 10px !important;
  padding: 15px 16px !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 16px;
  min-height: 52px;
}

.remynd-login-page #admincmnform .form-control.submit:hover {
  background: #0a1530 !important;
  border-color: #0a1530 !important;
  color: #fff !important;
}

.remynd-login-page #admincmnform a {
  color: var(--rl-cyan) !important;
  font-weight: 500;
}

.remynd-login-page #admincmnform a:hover {
  color: var(--rl-link-hover) !important;
}

.remynd-login-page #admincmnform .resend_otp {
  font-size: 0.85rem;
}

.remynd-login-page .checkbox-wrap.checkbox-primary {
  color: var(--rl-form-label);
  font-size: 0.875rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  line-height: 1.25;
}

.remynd-login-page .checkbox-wrap.checkbox-primary input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.remynd-login-page .checkbox-wrap.checkbox-primary .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--rl-form-border);
  border-radius: 6px;
  background: #fff;
}

.remynd-login-page .checkbox-wrap.checkbox-primary input:checked ~ .checkmark {
  background: var(--rl-navy);
  border-color: var(--rl-navy);
}

.remynd-login-page .checkbox-wrap.checkbox-primary .checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.remynd-login-page .checkbox-wrap.checkbox-primary input:checked ~ .checkmark::after {
  display: block;
}

.remynd-login-page #admincmnform small {
  display: block;
  font-size: 0.6875rem;
  color: #9ca3af;
  line-height: 1.55;
  margin-top: 4px;
  text-align: center;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
}

.remynd-login-footer {
  text-align: center;
  padding: 14px 16px 20px;
  font-size: 12px;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  flex-shrink: 0;
}

.remynd-login-page .reser {
  position: static;
  display: block;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.remynd-login-page .main_title {
  display: none;
}

@media (min-width: 992px) {
  .remynd-login-layout {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 100vh;
  }

  .remynd-login-hero {
    flex: 0 0 60%;
    max-width: 60%;
    min-height: 100vh;
    padding: 40px 48px 40px;
  }

  .remynd-login-hero.remynd-login-hero--branded:has(.remynd-login-hero-features) {
    padding-bottom: 0;
  }

  .remynd-login-hero-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 32px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 32px 0 40px;
    align-items: start;
  }

  .remynd-login-feature-col {
    max-width: none;
  }

  .remynd-login-aside {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
    padding: 48px clamp(24px, 4vw, 56px) 56px;
  }

  .remynd-login-lang {
    top: 28px;
    right: 40px;
  }

  .remynd-login-page .wrap {
    padding-top: 44px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 991px) {
  .remynd-login-layout {
    flex-direction: column;
  }

  .remynd-login-aside {
    order: -1;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .remynd-login-lang {
    top: 16px;
    right: 20px;
  }

  .remynd-login-hero {
    min-height: 220px;
    flex: 0 0 auto;
  }
}

/* Employee climate survey gate — keep legacy full-bleed layout */
body.homepage.Emp_csq_fill {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  background: #40124e;
  background-image: url(../images/login/Login-1843x768.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

body.homepage.Emp_csq_fill #wrapper.parent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

body.homepage.Emp_csq_fill .row {
  width: 100%;
}

body.homepage.Emp_csq_fill .main_title {
  display: block;
  font-size: 5rem;
  font-weight: bolder;
}

body.homepage.Emp_csq_fill .loginBox {
  background: #fff;
}

body.homepage.Emp_csq_fill #admincmnform .form-control.submit,
body.homepage.Emp_csq_fill #admincmnform .form-control.submit:hover {
  background: #86f1ff !important;
  border: 1px solid #86f1ff !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  color: #0a0a0a !important;
}

body.homepage.Emp_csq_fill #admincmnform .form-control {
  color: #40124e;
  font-size: 13px;
  padding: 15px 20px;
  border: 0;
  border-bottom: 1px solid #40124e;
  border-radius: 0;
  margin-bottom: 20px;
}

body.homepage.Emp_csq_fill #admincmnform a {
  color: #40124e !important;
}

body.homepage.Emp_csq_fill .mb-4.align-middle.text-uppercase {
  color: #40124e;
  text-align: center;
}

body.homepage.Emp_csq_fill .reser {
  font-weight: 500;
  font-size: 9px;
  position: absolute;
  right: 7px;
  bottom: -26px;
  padding: 0 5px;
  color: #fff;
}

@media only screen and (max-width: 980px) {
  body.homepage.Emp_csq_fill .main_title {
    font-size: 2.5rem;
  }

  body.homepage.Emp_csq_fill .row {
    width: auto;
  }

  body.homepage.Emp_csq_fill .wrap {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  body.homepage.Emp_csq_fill .main_title {
    font-size: 1.5rem;
    text-align: center;
  }

  body.homepage.Emp_csq_fill .loginBox {
    width: 100%;
    margin-top: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
