:root {
  --cuckoo-determination: #000000;
  --cuckoo-clarity: #ffffff;
  --cuckoo-tranquility: #f5eee7;
  --cuckoo-stimulation: #7f45c6;
  --cuckoo-stimulation-100: #854bcd;
  --cuckoo-stimulation-90: #9a59ed;
  --cuckoo-stimulation-80: #996ad1;
  --cuckoo-stimulation-60: #b28fdd;
  --cuckoo-stimulation-40: #ccb5e8;
  --cuckoo-stimulation-20: #e5daf4;
  --cuckoo-restoration: #f7f5ff;
  --cuckoo-energy: #ff3d38;
  --cuckoo-energy-80: #ff6460;
  --cuckoo-energy-60: #ff8b88;
  --cuckoo-energy-40: #ffb1af;
  --cuckoo-energy-20: #ffd8d7;
  --cuckoo-positivity: #ecff00;
  --cuckoo-gray-3: #828282;
  --cuckoo-gray-5: #e0e0e0;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--cuckoo-gray-3);
  font-family: "Matter";
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--cuckoo-gray-3);
  font-family: "Matter";
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--cuckoo-gray-3);
  font-family: "Matter";
}

@font-face {
  font-family: "Matter";
  font-weight: 400;
  src: url("../fonts/Matter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Matter";
  font-weight: bold;
  src: url("../fonts/Matter-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Reckless Neue";
  src: url("../fonts/RecklessNeue-Regular.ttf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Reckless Neue";
  src: url("../fonts/RecklessNeue-Medium.ttf") format("truetype");
  font-weight: bold;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Matter";
  color: var(--cuckoo-determination);
  height: unset;
  overflow-x: hidden;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a,
#enter-code {
  text-decoration: underline;
  color: var(--cuckoo-stimulation);
  font-weight: bold;
}

a:hover,
#enter-code:hover {
  color: var(--cuckoo-stimulation);
  text-decoration: none;
  cursor: pointer;
}

a:focus,
a:focus-visible {
  color: var(--cuckoo-stimulation);
  border: none;
  outline: none;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fbfaf8;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading img {
  animation: loader-fader 1s infinite ease-in-out both;
}

#logo {
  position: absolute;
  top: 3%;
  left: 3%;
}

.pf-c-dropdown .pf-c-dropdown__menu {
  display: none;
}

.pf-c-dropdown.open .pf-c-dropdown__menu {
  display: block;
}

#kc-locale {
  position: absolute;
  top: 3%;
  right: 3%;
  z-index: 10;
  border-radius: 100px;
  background-color: var(--cuckoo-clarity);
  width: fit-content;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 0.5rem;
  border: 1px solid var(--cuckoo-stimulation);
  cursor: pointer;
}

#kc-locale a,
#kc-locale span {
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  color: var(--cuckoo-stimulation);
  font-weight: bold;
}

#kc-locale a:hover:not(#kc-current-locale-link) {
  background-color: var(--cuckoo-stimulation-20);
}

.selected-language {
  display: flex;
  justify-content: center;
  align-items: center;
}

#language-icon {
  margin-right: 0.7rem;
}

#kc-current-locale-link {
  margin-top: 3px;
}

.pf-c-dropdown__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.pf-c-dropdown__menu li {
  width: 100%;
}

.pf-c-button.pf-m-control:active::after,
.pf-c-button.pf-m-control::after {
  border-bottom: 0;
}

.login-pf body {
  background: var(--cuckoo-clarity);
}

.login-pf-page {
  display: flex;
  min-height: 100vh;
  min-width: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff4ff 0%, #e6eefb 100%);
}

.left-content {
  width: 40%;
  background-color: var(--cuckoo-stimulation);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 20px 60px;
}

.left-header {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}

.left-header > h1 {
  font-size: 34px;
  font-weight: 300;
  line-height: 44.2px;
  color: var(--cuckoo-stimulation-20);
}

.left-header > p {
  color: var(--cuckoo-clarity);
  line-height: 24px;
}

.left-header strong {
  color: var(--cuckoo-clarity);
  font-weight: 300;
}

.card-wrapper {
  align-self: center;
  margin-top: -80px;
  margin-bottom: -20px;
}

.card-wrapper img {
  height: 400px;
  width: 350px;
  max-height: 400px;
  max-width: 350px;
  image-rendering: -webkit-optimize-contrast;
}

.cards-wrapper .circle-center {
  position: absolute;
  top: 0;
  left: 10%;
  height: 246px;
  width: 246px;
  border-radius: 50%;
  background-color: var(--cuckoo-restoration);
  opacity: calc(100% - 60%);
  z-index: 1;
}

.cards-wrapper img:nth-child(2) {
  top: 0;
  left: 0;
}
.cards-wrapper img:nth-child(3) {
  bottom: 0;
  right: 0;
}

.custom-carousel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  align-items: center;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  transition-property: opacity, visibility;
}

.carousel-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  width: 100%;
  align-self: center;
  color: var(--cuckoo-clarity);
  background-color: var(--cuckoo-stimulation-100);
  border-style: solid;
  border-width: 1px;
  border-color: var(--cuckoo-stimulation-90);
  padding: 16px;
  border-radius: 12px;
}

.carousel-text {
  font-size: 16px;
  line-height: 24px;
  font-family: "Matter";
}

.carousel-profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.carousel-profile p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.profile-info p:last-child {
  font-weight: 400;
}

.carousel-profile img {
  height: 55px;
  width: 55px;
  border-radius: 6px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--cuckoo-clarity);
}

.carousel-dots .dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: var(--cuckoo-stimulation-90);
  cursor: pointer;
}

.carousel-dots .active {
  background-color: var(--cuckoo-clarity);
  cursor: default;
}

.right-content {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 3rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.right-content .form {
  width: 75%;
  max-width: 500px;
  min-width: 0;
  flex-shrink: 0;
}

.right-content .kc-content {
  width: 100%;
  min-width: 0;
}

#kc-content-wrapper {
  min-width: 0;
}

.card-pf {
  margin: 0 auto;
  box-shadow: var(--pf-global--BoxShadow--lg);
  padding: 0 20px;
  max-width: 500px;
  border-top: 4px solid;
  border-color: var(--cuckoo-stimulation);
}

#kc-page-title {
  font-family: "Reckless Neue";
  text-align: start;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 3rem;
  word-wrap: break-word;
}

.pf-c-form-control:focus-visible {
  outline: 0;
  border-color: var(--cuckoo-stimulation);
  font-size: 18px;
  border-width: 1px;
  transition: all 0.25s ease-out;
}

.pf-c-form-control {
  border-color: inherit;
  border-radius: 8px;
}

.pf-c-form-control:not(textarea):not([type="checkbox"]):not([type="radio"]) {
  height: 48px;
  text-overflow: ellipsis;
  border-color: var(--cuckoo-clarity);
}

.pf-c-button {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.25s ease-out;
  font-family: "Matter";
}

.pf-c-button.pf-m-primary {
  background-color: var(--cuckoo-stimulation);
}

.pf-c-button.pf-m-primary:hover {
  background-color: #6b35ae;
}

.company-domain-verified-page .right-content {
  align-items: center;
}

.company-domain-verified-page .right-content .form {
  width: min(86%, 460px);
}

.company-domain-verified-page #kc-page-title {
  display: none;
}

.company-domain-verified {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  text-align: start;
}

.company-domain-verified-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f7ef;
  color: #15803d;
  flex: 0 0 auto;
  margin: 0.125rem 0 0;
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.1);
}

.company-domain-verified-icon span {
  display: block;
  width: 23px;
  height: 13px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  transform: rotate(-45deg) translate(1px, -3px);
}

.company-domain-verified-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.company-domain-verified-message {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--cuckoo-gray-1);
}

.company-domain-verified-hint {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cuckoo-gray-2);
}

/* Keep register button text visible when disabled */
#kc-register-form #kc-submit-button:disabled {
  background-color: #ddd9df;
  color: #746d7b;
  opacity: 1;
  -webkit-text-fill-color: #746d7b;
  border-color: #ddd9df;
  cursor: not-allowed;
}

/* Register page: ensure submit button aligns to full input width */
#kc-register-form #kc-submit-button {
  width: 100%;
  display: block;
}

.login-pf-page .login-pf-settings {
  justify-content: flex-start;
  margin-top: -1rem;
}

#kc-registration {
  font-size: 16px;
  color: var(--cuckoo-determination);
}

.login-pf-page .login-pf-settings a,
#kc-registration a {
  font-weight: bold;
  color: var(--cuckoo-stimulation);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.form-group input:not(.pf-c-button):not([type="checkbox"]):not([type="radio"]) {
  max-width: 100%;
  font-family: "Matter";
  padding: 0 55px;
  font-size: 16px;
  border: 1px solid var(--cuckoo-stimulation-20);
}

.form-group #email-icon {
  position: absolute;
  top: 17px;
  left: 20px;
}

.pf-c-form-control[aria-invalid="true"] {
  border: 1px solid var(--cuckoo-energy);
  border-color: #cc4b37;
  background: #faedeb;
  color: #cc4b37;
}

.pf-c-form-control[aria-invalid="true"]::placeholder {
  color: #cc4b37;
}

#input-error,
#input-error-username,
.pf-m-error {
  font-size: 1rem;
  font-weight: bold;
  color: #cc4b37;
}

.form-group #password-icon,
.form-group #user-icon,
.form-group #last-name-icon,
.form-group #company-icon {
  position: absolute;
  top: 15px;
  left: 20px;
}

.form-group #password {
  padding-right: 55px;
}

.form-group .eye-icon {
  top: 16px;
  right: 20px;
  left: auto;
  cursor: pointer;
  position: absolute;
}

#password-reveal {
  top: 13px;
}

#password-hide {
  width: 24px;
  display: none;
}

.forgot-password-label a {
  font-weight: bold;
  font-size: 16px;
  font-family: "Matter";
}

.other-login-methods {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.other-login-methods .login-method-btn,
.kc-social-item {
  background-color: var(--cuckoo-clarity);
  border-radius: 8px;

  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.kc-social-links {
  gap: 1rem;
}
.kc-social-links a {
  border: 1px solid var(--cuckoo-stimulation-20);
  overflow: auto;
}
.kc-social-item .kc-social-provider-name {
  color: var(--cuckoo-stimulation);
}
.kc-social-item.pf-c-button.pf-m-block {
  display: flex;
}

.kc-social-item .kc-social-provider-logo {
  font-size: 22px;
}

.kc-social-item .kc-social-provider-logo:hover {
  color: inherit;
}

.kc-social-item:hover {
  filter: brightness(98%);
}

.divider {
  background-color: "transparent";
  position: relative;
  display: flex;
  justify-content: center;
  height: 1px;
  margin: 2rem 0;
}

.divider span {
  font-size: 16px;
  position: absolute;
  top: -14px;
  background-color: "transparent";
  width: 4rem;
  text-align: center;
}

.pf-c-alert__title {
  font-family: "Matter";
}

/* Social / registration: prevent overflow in flex/grid */
#kc-social-providers ul,
.registration-social-providers ul {
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

#kc-social-providers a,
.registration-social-links {
  min-width: 0;
  flex: 1 1 auto;
}

@media only screen and (max-width: 1024px) {
  .right-content .form {
    width: 85%;
  }

  .right-content {
    padding: 3rem 2rem;
  }

  .left-content {
    padding: 20px;
    width: 50%;
  }

  .left-header {
    width: 100%;
  }

  #kc-page-title {
    font-size: 32px;
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 820px) {
  .left-content {
    padding: 20px;
    width: 50%;
  }

  .right-content {
    padding: 2rem 1.5rem;
  }

  .right-content .form {
    width: 90%;
    padding-top: 2.5rem;
  }

  #kc-page-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .reg-subheader-text {
    font-size: 20px;
  }
}

@media only screen and (max-width: 760px) {
  #kc-page-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .login-pf-page {
    flex-direction: column;
  }

  .left-content {
    display: none;
  }

  .right-content {
    padding: 1.5rem 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 1.5rem;
  }

  .company-domain-verified-page .right-content {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 1.5rem;
  }

  .right-content .form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 1.25rem;
  }

  .company-domain-verified-page .right-content .form {
    width: 100%;
    max-width: 420px;
    padding-top: 0;
  }

  #kc-form {
    width: 100%;
    min-width: 0;
  }

  .sign-up-with-email-btn {
    min-height: 44px;
    padding: 0 1rem;
  }

  #kc-locale {
    min-height: 44px;
    min-width: 44px;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 0.75rem;
  }

  .reg-subheader-text {
    font-size: 18px;
    margin-bottom: 2rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .divider {
    margin: 1.5rem 0;
  }
}

@media only screen and (max-width: 480px) {
  .right-content {
    padding: 1rem 0.75rem;
    padding-top: 1rem;
  }

  .right-content .form {
    padding-top: 0.75rem;
  }

  #kc-page-title {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .company-domain-verified-page #kc-page-title {
    display: none;
  }

  .company-domain-verified-icon {
    width: 56px;
    height: 56px;
  }

  .company-domain-verified {
    gap: 0.875rem;
  }

  .company-domain-verified-message {
    font-size: 22px;
  }

  #kc-locale {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 14px;
  }

  .reg-subheader-text {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .form-group input:not(.pf-c-button):not([type="checkbox"]):not([type="radio"]) {
    padding-left: 3rem;
    padding-right: 3rem;
    font-size: 16px;
  }

  .form-group #email-icon,
  .form-group #user-icon,
  .form-group #last-name-icon,
  .form-group #company-icon,
  .form-group #password-icon {
    left: 12px;
  }

  .form-group .eye-icon {
    right: 12px;
  }

  .pf-c-form-control:not(textarea):not([type="checkbox"]):not([type="radio"]) {
    height: 44px;
  }

  .pf-c-button,
  .sign-up-with-email-btn {
    height: 44px;
    min-height: 44px;
    font-size: 15px;
  }

  #kc-social-providers a,
  .registration-social-links {
    font-size: 15px;
    padding: 0 0.75rem;
  }

  .login-issue,
  #login-link {
    font-size: 14px;
  }
}

@media only screen and (max-height: 1024px) {
  .right-content {
    height: 100%;
  }
}

/* Forgot password page */
#kc-form-buttons {
  padding: 0;
}

.form-horizontal .form-group {
  margin: 1rem 0;
}

.subheader-text,
.reg-subheader-text {
  font-size: 16px;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.reg-subheader-text {
  font-size: 24px;
  font-family: "Reckless Neue";
  line-height: 1.2;
}

/* Subtitle right after page title */
#kc-form > .reg-subheader-text {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.registration-email-form .reg-subheader-text {
  margin-top: 1.25rem;
}

/* reCAPTCHA v2 widget container only - don't scale submit button (v3 uses class g-recaptcha) */
#recaptcha.g-recaptcha {
  transform: scale(0.77);
  transform-origin: 0 0;
}

/* registration page - email form toggle */
.registration-email-form[hidden] {
  display: none !important;
}

.sign-up-with-email-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Matter";
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
  background-color: var(--cuckoo-clarity);
  border: 1px solid var(--cuckoo-stimulation-20);
  border-radius: 8px;
  color: var(--cuckoo-stimulation);
  margin-bottom: 1rem;
  min-height: 48px;
}

.sign-up-with-email-btn:hover {
  filter: brightness(98%);
}

.sign-up-with-email-btn:focus-visible {
  outline: 2px solid var(--cuckoo-stimulation);
  outline-offset: 2px;
}

.sign-up-with-email-btn .sign-up-email-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.registration-email-form {
  margin-top: 1rem;
}

/* registration page */
.col-lg-12 {
  padding: 0;
}

#enter-code-link,
#login-link {
  font-size: 16px;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* #enter-code-link span, */
/* #login-link span {
	margin-right: .5rem;
} */

#enter-code-link {
  margin-top: 0;
  text-align: start;
  margin-bottom: 1rem;
}

.hide_non_idp .non-idp-child,
.hide_non_idp .login-pf-signup {
  display: none;
}

.hide_non_idp #kc-page-title {
  text-align: center;
}
/* #company-code-field {
	display: none;
} */

.global-error {
  display: none;
}

.global-error .pf-c-alert__icon {
  display: inline-block;
}

.login-issue {
  text-align: center;
}

.login-issue span {
  color: var(--cuckoo-stimulation);
}

/* Terms checkbox - bigger, aligned with label */
.terms-checkbox-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 1rem 0 1.5rem;
}

.terms-checkbox {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  margin-top: 2px;
  accent-color: var(--cuckoo-stimulation);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox-label {
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  flex: 1;
  min-width: 0;
}

/* Refreshed auth experience */
.login-pf-page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #fbfaf8;
}

.left-content {
  position: relative;
  width: 44%;
  max-width: 720px;
  min-width: 420px;
  flex: 0 1 44%;
  height: 100vh;
  box-sizing: border-box;
  justify-content: safe center;
  align-items: stretch;
  gap: 0;
  padding: clamp(4.75rem, 9vh, 6rem) clamp(2rem, 5vw, 5.5rem)
    clamp(5.5rem, 11vh, 8rem);
  overflow: hidden;
  background: linear-gradient(180deg, #fff4ff 0%, #e6eefb 100%);
}

.left-content::before,
.left-content::after {
  position: absolute;
  z-index: 0;
  border-radius: 1.5rem;
  content: "";
  pointer-events: none;
}

.left-content::before {
  width: 20rem;
  height: 20rem;
  top: 24%;
  right: -10rem;
  border: 1px solid rgba(127, 69, 198, 0.12);
  background: rgba(127, 69, 198, 0.035);
  transform: rotate(14deg);
}

.left-content::after {
  width: 12rem;
  height: 5rem;
  bottom: 12%;
  left: -4rem;
  background: rgba(255, 61, 56, 0.06);
  transform: rotate(-18deg);
}

.left-brand,
.left-header,
.custom-carousel {
  position: relative;
  z-index: 1;
}

.left-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.left-brand-logo {
  display: block;
  width: 114px;
  height: 35px;
}

.left-brand-link {
  display: block;
  border-radius: 0.35rem;
}

.left-brand-link:focus-visible {
  outline: 2px solid var(--cuckoo-stimulation);
  outline-offset: 0.3rem;
}

.left-content > .left-brand {
  position: absolute;
  top: clamp(1.5rem, 3vw, 3rem);
  left: clamp(2rem, 5vw, 5.5rem);
}

.left-header {
  width: min(100%, 35rem);
  height: auto;
  margin: clamp(2.5rem, 5vh, 4.5rem) 0 clamp(0.75rem, 3vh, 2.25rem);
  align-self: auto;
  gap: 0;
  overflow: visible;
}

.left-header > h1 {
  margin: 0;
  color: #211a2c;
  font-family: "Reckless Neue";
  display: block;
  overflow: visible;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: normal;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.left-header > h1 strong {
  color: var(--cuckoo-stimulation);
  font-weight: normal;
}

.custom-carousel {
  width: min(100%, 35rem);
  min-height: 0;
  margin-top: 0;
  align-items: stretch;
  gap: 0.85rem;
  visibility: hidden;
}

.visual-stage {
  position: relative;
  display: flex;
  height: clamp(14rem, min(30vw, 48vh), 26rem);
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(127, 69, 198, 0.13);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 1.5rem 3rem rgba(66, 40, 106, 0.08);
}

.card-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.card-wrapper img {
  width: min(100%, 32rem);
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-container {
  gap: 0.8rem;
  width: 100%;
  height: 9.75rem;
  min-height: 9.75rem;
  padding: 0.3rem 0.15rem 0;
  border: 0;
  color: #41394b;
  background: transparent;
  justify-content: space-between;
  overflow: hidden;
}

.carousel-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  max-width: 32rem;
  margin: 0;
  color: #41394b;
  font-size: 0.95rem;
  line-height: 1.55;
}

.carousel-profile {
  gap: 0.7rem;
}

.carousel-profile img {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--cuckoo-stimulation);
}

.carousel-profile p {
  color: #211a2c;
  font-size: 0.82rem;
}

.carousel-profile .profile-info p:last-child {
  color: #756d7d;
  font-size: 0.75rem;
}

.right-content {
  height: 100vh;
  min-height: 0;
  box-sizing: border-box;
  padding: 6rem clamp(2rem, 7vw, 7rem);
  background: #fbfaf8;
}

.right-content .form {
  width: min(100%, 31rem);
  margin-top: auto;
  margin-bottom: auto;
}

#kc-page-title {
  margin-bottom: 2.35rem;
  color: #211a2c;
  font-size: clamp(1.75rem, 2.2vw, 2.3rem);
  letter-spacing: -0.03em;
}

.pf-c-form-control:not(textarea):not([type="checkbox"]):not([type="radio"]),
.form-group input:not(.pf-c-button):not([type="checkbox"]):not([type="radio"]) {
  height: 3.4rem;
  border: 1px solid #e2dce9;
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 0.4rem 1.2rem rgba(49, 30, 79, 0.035);
}

#kc-update-profile-form .profile-input-wrapper {
  position: relative;
}

#kc-update-profile-form .profile-input-wrapper > img {
  top: 1.7rem;
  transform: translateY(-50%);
}

/* Password-update fields do not include leading icons. */
#kc-passwd-update-form input:not(.pf-c-button):not([type="checkbox"]),
#kc-update-password-form input:not(.pf-c-button):not([type="checkbox"]) {
  padding-right: 1rem;
  padding-left: 1rem;
}

#kc-passwd-update-form input[type="checkbox"],
#kc-update-password-form input[type="checkbox"] {
  position: static;
  appearance: auto;
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  min-height: 1.15rem;
  margin: 0;
  padding: 0;
  border: initial;
  border-radius: 0.25rem;
  background: initial;
  box-shadow: none;
  accent-color: var(--cuckoo-stimulation);
  cursor: pointer;
  flex-shrink: 0;
}

#kc-passwd-update-form .checkbox label,
#kc-update-password-form .checkbox label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

#kc-passwd-update-form .checkbox,
#kc-update-password-form .checkbox {
  padding-bottom: 0.75rem;
}

#kc-passwd-update-form .pf-c-input-group,
#kc-update-password-form .pf-c-input-group {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e2dce9;
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 0.4rem 1.2rem rgba(49, 30, 79, 0.035);
}

#kc-passwd-update-form .pf-c-input-group:focus-within,
#kc-update-password-form .pf-c-input-group:focus-within {
  border-color: var(--cuckoo-stimulation);
  box-shadow: 0 0 0 0.2rem rgba(127, 69, 198, 0.12);
}

#kc-passwd-update-form .pf-c-input-group input,
#kc-update-password-form .pf-c-input-group input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#kc-passwd-update-form .pf-c-input-group .pf-c-button.pf-m-control,
#kc-update-password-form .pf-c-input-group .pf-c-button.pf-m-control {
  width: 3.4rem;
  min-width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 0;
  border-left: 1px solid #e2dce9;
  border-radius: 0;
  background: #ffffff;
  color: #746d7b;
  box-shadow: none;
}

#kc-passwd-update-form .pf-c-input-group .pf-c-button.pf-m-control::after,
#kc-update-password-form .pf-c-input-group .pf-c-button.pf-m-control::after {
  display: none;
  content: none;
}

#kc-passwd-update-form .pf-c-input-group .pf-c-button.pf-m-control:hover,
#kc-update-password-form .pf-c-input-group .pf-c-button.pf-m-control:hover {
  background: #f7f4f9;
  color: var(--cuckoo-stimulation);
}

#kc-passwd-update-form .pf-c-input-group .pf-c-button.pf-m-control:focus-visible,
#kc-update-password-form .pf-c-input-group .pf-c-button.pf-m-control:focus-visible {
  position: relative;
  z-index: 1;
  outline: none;
  box-shadow: none;
}

.pf-c-form-control:focus-visible {
  border-color: var(--cuckoo-stimulation);
  box-shadow: 0 0 0 0.2rem rgba(127, 69, 198, 0.12);
  font-size: 16px;
}

.pf-c-button,
.sign-up-with-email-btn {
  height: 3.4rem;
  border-radius: 0.85rem;
}

.pf-c-button.pf-m-primary {
  background-color: #211a2c;
}

.pf-c-button.pf-m-primary:hover {
  background-color: #3c2d4c;
}

/* Language picker */
#kc-locale {
  width: auto;
  height: auto;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2dce9;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.35rem 1.2rem rgba(33, 26, 44, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease;
}

#kc-locale:hover,
#kc-locale.open {
  border-color: rgba(127, 69, 198, 0.4);
  background: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(33, 26, 44, 0.12);
}

#kc-locale:focus-visible {
  outline: none;
  border-color: var(--cuckoo-stimulation);
  box-shadow: 0 0 0 0.2rem rgba(127, 69, 198, 0.14);
}

#kc-locale .selected-language {
  gap: 0.55rem;
}

#kc-locale .selected-language::after {
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.2rem 0.15rem 0 0.2rem;
  border-right: 1.5px solid #746d7b;
  border-bottom: 1.5px solid #746d7b;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
}

#kc-locale.open .selected-language::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

#kc-locale #language-icon {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  opacity: 0.72;
}

#kc-locale #kc-current-locale-link {
  margin: 0;
  color: #3c3446;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

#kc-locale .pf-c-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 8.5rem;
  padding: 0.4rem;
  overflow: hidden;
  border: 1px solid #e8e2ec;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 0.9rem 2.25rem rgba(33, 26, 44, 0.14);
}

#kc-locale .pf-c-dropdown__menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.6rem;
  color: #3c3446;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: left;
}

#kc-locale .pf-c-dropdown__menu a:hover,
#kc-locale .pf-c-dropdown__menu a:focus-visible {
  outline: none;
  background: #f4eefb;
  color: var(--cuckoo-stimulation);
}

.other-login-methods .login-method-btn,
.kc-social-item,
#kc-social-providers a,
.registration-social-links {
  min-height: 3.4rem;
  border: 1px solid #e2dce9;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #211a2c;
}

.divider {
  margin: 1.5rem 0;
  background: #e5e0e9;
}

.divider span {
  color: #81778b;
  background: #fbfaf8;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sign-up-with-email-btn {
  margin-bottom: 0.8rem;
  border-color: #e2dce9;
  color: #211a2c;
}

#kc-registration,
#login-link,
.login-issue {
  color: #756d7d;
}

#kc-registration a,
#login-link a,
.login-issue span,
.forgot-password-label a {
  color: var(--cuckoo-stimulation);
}

@media only screen and (max-width: 1024px) {
  .left-content {
    min-width: 360px;
    padding: clamp(4.75rem, 9vh, 6rem) 2.5rem
      clamp(5.5rem, 11vh, 8rem);
  }

  .left-header {
    height: auto;
    margin-top: 3rem;
    margin-bottom: clamp(0.75rem, 3vh, 1.75rem);
  }

  .left-header > h1 {
    font-size: clamp(2rem, 2.9vw, 2.8rem);
  }

  .right-content {
    padding: 5rem 2.5rem;
  }
}

@media only screen and (max-height: 820px) and (min-width: 761px) {
  .left-header {
    margin-top: 2rem;
    margin-bottom: clamp(0.75rem, 2.5vh, 1.5rem);
  }
}

@media only screen and (min-width: 761px) and (max-width: 820px) {
  .login-pf-page {
    flex-direction: row;
  }
}

@media only screen and (max-width: 760px) {
  .login-pf-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .left-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 5rem;
    min-height: 0;
    padding: 1.5rem 1.25rem;
    overflow: visible;
    background: transparent;
  }

  .left-content > .left-header,
  .left-content > .custom-carousel {
    display: none;
  }

  .left-content::before,
  .left-content::after {
    display: none;
  }

  .left-content > .left-brand {
    position: static;
  }

  .right-content {
    height: auto;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    padding: 6rem 1.25rem 2rem;
    background: linear-gradient(180deg, #f7f2ff 0, #fbfaf8 16rem);
  }

  .right-content .form {
    width: 100%;
  }
}

/*****************************************************************************************
	Animations
*****************************************************************************************/
@keyframes loader-fader {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
