@import url("./../fontsource/inter/latin.css?family=Inter:wght@500&display=swap");


.arow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.acolumn {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.twoColumnsWrapperLeftColumn{
  height: 100vh;
}

.twoColumnsWrapperRightColumn{
  height: 100vh;
  background-image: url("https://images.ctfassets.net/iszu9cg7w7tj/44nXuB9iO53ftCk2B2RHRC/e7577215719625a3ccd546a5b680042d/background-export-min.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#eyebrow {
  font-family: 'Inter';
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

h4 {
  color: #72767b !important;
  margin: 0;
  text-align: center;
  font-weight: 400;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

p {
  font-size: 14px;
}

#kc-info-wrapper {
  background: #F3EFEE !important;
  color: #6A5F6B;
}

body {
  display: flex;
  background: #2b1a2e !important;
  width: 100vw;
  height: 100vh !important;
  align-items: center;
  justify-content: center;
  font-family: "Inter", Arial, sans-serif;
  color: #6A5F6B;
  -webkit-font-smoothing:antialiased;
}

a {
  color: #6f94ff !important;
  font-size: 14px;
}

.login-pf-page {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  padding: 48px 48px 60px;
  display: grid;
  gap: 10px;
  box-sizing: border-box;
}

#kc-content-wrapper {
  margin: 0;
}

#kc-header {
  margin: 0;
  color: #2A1B2D;
}

#kc-header-wrapper {
  text-transform: capitalize;
  font-size: 40px;
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: center;
}

#kc-totp-settings,
.login-pf-page .card-pf p {
  color: #72767b !important;
}

.kc-candis-logo {
  background-image: url("../img/Candis_Logo_with_word_Black@3x.svg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 80px;
  width: 250px;
}

.kc-candis-logo > span,
.pf-c-alert.pf-m-danger .pf-c-alert__icon,
.pf-c-alert__icon {
  display: none !important;
}
.login-pf-page .login-pf-header {
  display: grid;
  margin: 0;
}

.login-pf-page .card-pf {
  padding: 0;
  width: 100%;
  margin: 0 auto;
  max-width: 600px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: none;
  display: grid;
  gap: 24px;
}

#kc-page-title {
  padding: 0;
  margin: 0;
  font-size: 16px;
  color:#72767b;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}

#backToApplication,
div#kc-info-message a {
  position: fixed;
  padding: 1em 0px;
}

#kc-username a#reset-login {
  display: none;
}

.form-group {
  height: auto;
  margin: 0 !important;
  transition: height 300ms ease;
}

.form-group.custom {
  display: grid;
  gap: 14px;
}

#kc-sms-code-login-form #kc-form-buttons {
  width: 100%;
}

label {
  color: #72767b;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 4px !important;
  font-family: "Inter", Arial, sans-serif;
}

.pf-c-form-control {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  background: #ffffff;
  border: 1px solid #EAE5E6 !important;
  border-style: none;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: "Inter", Arial, sans-serif;
}

/* input fields */
.pf-c-form-control:hover {
  border: 1px solid #EAE5E6 !important;
}

.pf-c-form-control:focus,
.pf-c-form-control:focus-visible {
  border: none;
  outline: none;
}

.pf-c-form-control:read-only {
color: #737679;
background: #DDD7DB;
}

span.fa.fa-fw.fa-check-circle {
  display: none;
}

.pf-c-alert.pf-m-inline,
.alert-info.pf-c-alert.pf-m-inline.pf-m-info {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  border: none !important;
  padding: 12px !important;
  margin-bottom: 20px !important;
  background: #f4c7bc;
}

.alert-success.pf-c-alert.pf-m-inline.pf-m-success,
.alert-info.pf-c-alert.pf-m-inline.pf-m-info {
  background: #d0e3d8 !important;
  color: #1E4F18 !important;
}

#kc-content-wrapper .pf-m-danger {
  background-color: #F2DAD3;
}

.pf-c-alert.pf-m-danger .pf-c-alert__title {
  color: #c72b03 !important;
}

.pf-c-form__helper-text.pf-m-error {
  display: block;
  margin: 0 0 10px;
}

.pf-c-form-control[aria-invalid="true"] {
  background: #f4c7bc !important;
  margin-bottom: 8px;
}

.required {
  color: #f04315 !important;
  font-size: 14px;
}

.alert-success {
  background-color: #d0e3d8;
  border-style: none;
  border-radius: 8px;
}

.pf-c-alert__title.kc-feedback-text {
  color: #1E4F18;
}

div.alert-warning  .pf-c-alert__title.kc-feedback-text {
  color: #c72b03;
}

.pf-c-button.pf-m-primary,
.pf-c-button.btn-default.btn-lg,
.pf-c-login__main-footer-links.kc-social-links
  .pf-c-button.pf-m-control.pf-m-block.kc-social-item.kc-social-gray {
  background: #2B1A2E;
  color: #f1eceb;
  border-radius: 99px;
  height: 44px;
  transition: all 0.2s ease-in-out;
}

input#kc-login {
  font-size: 16px;
}

.pf-c-button.pf-m-primary:hover,
.pf-c-button.btn-default.btn-lg:hover,
.pf-c-login__main-footer-links
  .pf-c-button.pf-m-control.pf-m-block.kc-social-item.kc-social-gray:hover {
  background: #6A5F6B;
}

.pf-c-button.pf-m-secondary {
  background: #f1eceb;
  color: #2B1A2E;
  border-radius: 99px;
  height: 44px;
  transition: all 0.2s ease-in-out;
}

.pf-c-button.pf-m-secondary:hover {
  background: #6A5F6B;
}

.pf-c-login__main-footer-links.kc-social-links
  .pf-c-button.pf-m-control.pf-m-block.kc-social-item.kc-social-gray {
  background: #FBFAF8;
  border: none;
  color: #2B1A2E !important;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.pf-c-login__main-footer-links.kc-social-links
  .pf-c-button.pf-m-control.pf-m-block.kc-social-item.kc-social-gray:hover {
  background: #F8F6F5;
}

.pf-c-button.pf-m-control::after {
  border-style: none;
}

.pf-c-button.pf-m-control {
  padding-top: 4px;
}

#kc-form-buttons {
  margin-top: 20px !important;
}

.kc-social-provider-logo {
  font-size: 22px;
  width: 22px;
  height: 22px;
  float: none;
}

.kc-social-provider-name.kc-social-icon-text {
  position: static !important;
  font-size: 16px;
}

.kc-social-section hr {
  margin-bottom: 0px;
}

hr {
  border-top: 0px solid #f1eceb;
}

#kc-locale ul {
  border-radius: 8px !important;
  top: 26px !important;
  overflow: hidden !important;
}

#kc-locale-dropdown a {
  padding: 20px !important;
  text-align: center !important;
}

a.kc-current-locale-link::after {
  content: "\203A" !important;
  right: -12px !important;
  transform: rotate(-90deg) scale(1.6) !important;
  transition: all 300ms ease;
  display: inline-block !important;
  position: relative !important;
  margin: 0 !important;
}

#kc-locale-dropdown:hover a.kc-current-locale-link::after {
  transform: rotate(90deg) !important;
}

.pf-c-alert.pf-m-warning .pf-c-alert__title {
  margin: 0 20px;
}

div.candis-mailito-support {
  position: absolute;
  bottom: 0;
  right: 1em;
}

.do-decline-btn, .kc-terms-decline-btn {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #C72B03;
  background-color: transparent;
  border: none;
}

div.candis-login-bottom-bar {
  position: fixed;
  bottom: 20px;
  width: fit-content;
  text-align: center;
}

div.candis-login-bottom-bar a:link,a:visited {
  color: #737679 !important;
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
}

#kc-candis-locale {
  position: relative;
  display: inline-block;
  margin: 0em 2.5em;
}

#kc-candis-locale-dropdown {
  display: none;
}

#kc-candis-locale-dropdown a {
  padding: 20px;
  text-align: center !important;
  color: var(--pf-global--Color--200) !important;
  border-radius: 8px !important;
  font-size: var(--pf-global--FontSize--sm);
}

#kc-candis-locale-dropdown a:hover {
  color: var(--pf-global--link--Color--hover);
}

#kc-candis-locale:hover #kc-candis-locale-dropdown {
  display: block;
  position: absolute;
  background-color: var(--pf-global--BackgroundColor--100);
  border-radius: 8px !important;
  min-width: 100px;
  bottom: 22px;
  margin-left: -18px;
  z-index: 1;
}

#kc-candis-locale-dropdown a:hover {
  text-decoration: none;
  background-color: #eee;
}

#kc-current-canids-locale-link::after {
  font-family: "FontAwesome";
  content: "\f107" !important;
  right: -6px !important;
  transition: all 300ms ease;
  display: inline-block !important;
  position: relative !important;
  margin: 0 !important;
}

#kc-candis-locale:hover #kc-current-canids-locale-link::after {
  transform: rotate(180deg) !important;
}

#instruction-group {
  display: grid;
  gap: 14px;
}

p.instruction {
  margin: 0;
}

form#kc-select-try-another-way-form {
  margin-top: 20px;
}

input#password,input#password-new,input#password-confirm {
  margin-bottom: 0px;
}

.candis-input-border {
  border-radius: 4px;
}

#kc-social-providers h2{
  margin-top: 10px;
  margin-bottom: 10px;
}

#promo-links-section {
  margin-top: 2em;
}

a.promo-link-white:link,
a.promo-link-white:visited {
    color: white !important;
    text-decoration: none;
}

a.promo-link-chocolate:link,
a.promo-link-chocolate:visited {
  color:#2B1A2E !important;
  text-decoration: none;
}

/* Full-width layout styles */
.kc-layout-full-width #kc-content {
  min-width: 0;
}

.kc-layout-full-width .kc-login-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

.kc-layout-full-width .kc-login-full {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background-color: #F3EFEE;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.kc-layout-full-width .login-pf-page {
  width: 100%;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Terms page specific styles */
.kc-terms-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 300px;
  width: 100%;
}

.kc-terms-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.kc-terms-text {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kc-terms-actions {
  flex-shrink: 0;
  padding-bottom: calc(30vh - 200px);
}

.kc-terms-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments for full-width layout */
@media (max-width: 768px) {
  .kc-layout-full-width .kc-login-full {
    padding: 1rem;
  }
  
  .kc-terms-text {
    padding: 1rem;
  }
}