/* LexendDeca Variable - primary font for the entire design system */
@font-face {
  font-family: "LexendDeca";
  font-style: normal;
  font-weight: 100 900;
  src: url("../font/LexendDeca-VariableFont_wght.woff2") format("woff2");
  font-display: swap;
}

:root {
  --kc-bg: #f3f7ff;
  --kc-card-bg: #ffffff;
  --kc-card-border: #dbe1ea;
  --kc-ink: #101828;
  --kc-muted: #667085;
  --blue_ribbon_500: #003e9c;
  --blue_ribbon_400: #0047b3;
  --blue_ribbon_300: #0065ff;
  --blue_ribbon_200: #2b7fff;
  --blue_ribbon_100: #6ba6ff;
  --blue_ribbon_75: #c0dafd;
  --blue_ribbon_50: #e6f0ff;
  --blue_ribbon_25: #f3f7ff;
  --blue_ribbon_05: #fcfcfc;
  --blue_zodiac_500: #1e2251;
  --blue_zodiac_400: #4b4e74;
  --blue_zodiac_300: #686b8a;
  --blue_zodiac_200: #9899af;
  --blue_zodiac_100: #b9bac9;
  --blue_zodiac_50: #e9e9ee;
  --vert_600: #02c9ae;
  --vert_500: #02ddbf;
  --vert_50: #e6fcf9;
  --kc-primary: #155eef;
  --kc-primary-pressed: #004eea;
  --mango-600: #e86103;
  --mango-500: #ff6b03;
  --mango-300: #ffc46d;
  --mango-100: #fff0d3;
  --mango-50: #fff0e6;
  --kc-outline: #cfd4de;
  --kc-header-bg: #ffffff;
  --kc-header-border: #d9dee8;
  --kc-radius-card: 12px;
  --kc-radius-pill: 999px;
  --kc-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
  --shadow: 0px 2px 8px 0px #e5eaef;
  --kc-focus: 0 0 0 3px rgba(21, 94, 239, 0.2);
  --kc-header-height: 58px;
  --font-primary: "LexendDeca";
  --kc-font: "LexendDeca", "Helvetica Neue", Arial, sans-serif;
  --text-default: var(--blue_zodiac_500);
  --text-muted: var(--blue_zodiac_300);
}

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

html,
body {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.t-left {
  text-align: left;
}
.t-center {
  text-align: center;
}
.t-right {
  text-align: right;
}
.t-justify {
  text-align: justify;
}
.t-nowrap {
  white-space: nowrap;
}

.t-hero {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-feature-settings: normal;
  font-size: 24px;
  font-variation-settings: normal;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  line-height: 40px;
}

.t-body {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
}

.t-h1 {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

.t-h2 {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}

.t-h3 {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
}

.t-h4 {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
}

.t-caption {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
}

.t-blue-zodiac-200 {
  color: var(--blue_zodiac_50);
}

.t-overlay {
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
}

.t-elips {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**
 * Reset des composant externes
 */

.card-pf {
  padding: 0 !important;
}
.login-pf-header {
  margin: 0 !important;
}

.login-pf-page .card-pf p {
  color: var(--text-default);
}

body.login-pf,
.login-pf body {
  background: var(--kc-bg);
  color: var(--kc-ink);
  font-family: var(--font-primary), system-ui, sans-serif;
  margin: 0;
}

.login-pf-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.card-pf {
  background: var(--kc-bg);
  border: none;
  box-shadow: none;
  padding: 0;
}
#kc-header,
#kc-header-wrapper,
#kc-page-title {
  display: none;
}

#kc-content {
  padding-top: 0;
}

#kc-locale {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 30;
}

#kc-locale ul {
  display: none !important;
}

#kc-locale.kc-locale-open ul {
  display: block !important;
}

#kc-current-locale-link,
#kc-locale .pf-c-dropdown__menu-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#kc-current-locale-link {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--blue_zodiac_100);
  border-radius: 999px;
  background: #fff;
  color: var(--blue_zodiac_500);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

#kc-current-locale-link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

#kc-current-locale-link:hover,
#kc-current-locale-link:focus-visible,
#kc-locale.kc-locale-open #kc-current-locale-link {
  background: var(--blue_ribbon_75);
  border-color: var(--blue_ribbon_100);
  color: var(--blue_ribbon_500);
  text-decoration: none;
}

#kc-current-locale-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue_ribbon_100) 55%, white);
}

#kc-locale .pf-c-dropdown__menu {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid var(--blue_zodiac_50);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
}

#kc-locale .pf-c-dropdown__menu-item {
  color: var(--blue_zodiac_500);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
}

#kc-locale .pf-c-dropdown__menu-item:hover,
#kc-locale .pf-c-dropdown__menu-item:focus-visible {
  background: var(--blue_ribbon_50);
  color: var(--blue_zodiac_500);
}

#kc-current-locale-link::before,
#kc-locale .pf-c-dropdown__menu-item::before {
  font-size: 14px;
  line-height: 1;
}

#kc-current-locale-link::before {
  content: none;
}

#kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=fr"]::before {
  content: "🇫🇷";
}

#kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=en"]::before {
  content: "🇬🇧";
}

#kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=nl"]::before {
  content: "🇳🇱";
}

html[lang="fr"] #kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=fr"],
html[lang="en"] #kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=en"],
html[lang="nl"] #kc-locale .pf-c-dropdown__menu-item[href*="kc_locale=nl"] {
  color: var(--blue_ribbon_300);
  font-weight: 600;
}

.kc-custom-shell {
}

.kc-custom-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--kc-header-height);
  background: var(--kc-header-bg);
  border-bottom: 0;
  box-shadow: var(--shadow);
  z-index: 20;
}

.kc-custom-header-inner {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.kc-brand-header-logo {
  width: 32px;
  height: 32px;
}

.kc-custom-main {
  display: grid;
  place-items: flex-start;
  padding: 108px 16px 24px;
  position: relative;
}

.kc-custom-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue_zodiac_400);
  text-decoration: none;
  position: absolute;
  top: calc(var(--kc-header-height) + 12px);
  left: 12px;
}

.kc-custom-back span {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
}

.kc-custom-back:hover,
.kc-custom-back:focus-visible {
  color: var(--blue_ribbon_300);
  text-decoration: underline;
}

.kc-custom-card {
  width: 100%;
  max-width: 430px;
  background: var(--kc-card-bg);
  border-radius: var(--kc-radius-card);
  box-shadow: var(--shadow);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kc-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#kc-form-login {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kc-form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kc-form-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kc-brand-card-logo {
  display: block;
  width: 88px;
  height: 48px;
  margin: 0 auto;
  object-fit: cover;
}

.kc-custom-title {
  margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
}

.kc-custom-subtitle {
  color: var(--text-muted) !important;
  text-align: center;
  margin: 0;
}

.kc-custom-field {
  margin: 0;
}

.kc-custom-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #25315a;
}

.kc-custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kc-custom-link {
  color: var(--kc-primary);
  text-decoration: none;
}

.kc-custom-link:hover,
.kc-custom-link:focus-visible {
  text-decoration: underline;
}

.kc-custom-input-wrap {
  position: relative;
}

.kc-custom-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--kc-outline);
  border-radius: var(--kc-radius-pill);
  background: #fff;
  color: var(--kc-ink);
  padding: 0 44px 0 36px;
  font-size: 14px;
  outline: 0;
}

.kc-custom-input::placeholder {
  color: var(--blue_zodiac_200);
  opacity: 1;
}

.kc-reset-form .kc-form-actions {
  margin-top: 12px;
}

.kc-custom-help {
  margin: 8px 0 0;
  color: var(--blue_zodiac_300) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kc-custom-help::before {
  content: "";
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239899AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.kc-input-user .kc-custom-input {
  padding-right: 14px;
}

.kc-input-lock .kc-custom-input {
  padding-right: 38px;
}

.kc-custom-input:focus {
  border-color: var(--kc-primary);
  box-shadow: var(--kc-focus);
}

.kc-custom-input[aria-invalid="true"] {
  border-color: var(--mango-500);
  background: var(--mango-50);
}

.kc-custom-input[aria-invalid="true"]:focus {
  border-color: var(--mango-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mango-300) 45%, white);
}

.kc-custom-error {
  margin-top: 6px;
  font-size: 12px;
  color: var(--mango-500);
}

.text-mango_500,
.text-danger {
  color: var(--mango-500);
}

.text-blue_ribbon_300,
.text-primary {
  color: var(--blue_ribbon_300);
}

.kc-input-user::before,
.kc-input-lock::before,
.kc-custom-password-toggle span::before,
.kc-custom-password-toggle span::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

.kc-input-user::before,
.kc-input-lock::before {
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.kc-input-user::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.kc-input-lock::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E");
}

.kc-custom-password-toggle {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.kc-custom-password-toggle span::before {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.kc-custom-password-toggle.is-visible span::after {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.9 5.2A10.7 10.7 0 0 1 12 5c6.5 0 10 7 10 7a16.5 16.5 0 0 1-3.1 4.2'/%3E%3Cpath d='M6.6 6.7C3.8 8.3 2 12 2 12s3.5 7 10 7a9.9 9.9 0 0 0 4.1-.8'/%3E%3C/svg%3E");
}

.kc-custom-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: #344054;
}

.kc-custom-remember input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.kc-custom-btn {
  width: 100%;
  height: 42px;
  border-radius: var(--kc-radius-pill);
  border: 1px solid transparent;
  color: inherit !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-primary), system-ui, sans-serif !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.kc-custom-btn:focus-visible {
  box-shadow: var(--kc-focus);
  outline: none;
}

.kc-custom-btn-primary {
  background: var(--kc-primary);
  color: #fff !important;
}

.kc-custom-btn-primary:hover {
  background: var(--kc-primary-pressed);
}

.kc-custom-btn-secondary {
  margin-top: 0;
  background: #fff;
  color: var(--blue_zodiac_500);
  border-color: var(--blue_zodiac_100);
}

.kc-custom-btn-secondary:hover {
  background: var(--blue_ribbon_50);
  border-color: var(--blue_ribbon_75);
}

.kc-custom-btn-secondary:focus-visible {
  background: var(--blue_ribbon_50);
  border-color: var(--blue_ribbon_300);
  box-shadow: 0 0 0 2px var(--blue_ribbon_300);
}

.kc-custom-btn-secondary:active {
  background: #fff;
  border-color: var(--blue_ribbon_300);
  color: var(--blue_ribbon_300);
}

.kc-custom-divider {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  gap: 12px;
}

.kc-divider-separator {
  flex: 1;
  height: 1px;
  background: var(--blue_zodiac_50);
}

.kc-divider-content p {
  margin: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.kc-custom-social {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.kc-custom-social-link {
  border: 1px solid var(--kc-outline);
  border-radius: var(--kc-radius-pill);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  text-decoration: none;
  font-weight: 600;
}

.kc-custom-trust {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--blue_zodiac_300);
}

.kc-custom-trust a {
  text-decoration: none;
}

.kc-custom-trust a:hover,
.kc-custom-trust a:focus-visible {
  text-decoration: underline;
}

.kc-custom-trust-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2302ddbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  :root {
    --kc-header-height: 68px;
  }

  #kc-locale {
    top: 10px;
    right: 10px;
  }

  .kc-custom-header-inner {
    padding: 0 10px;
  }

  .kc-brand-header-logo {
    width: 32px;
    height: 32px;
  }

  .kc-custom-main {
    padding: calc(var(--kc-header-height) + 16px) 0 16px;
    align-items: start;
  }

  .kc-custom-card {
    width: auto;
    max-width: none;
    margin-left: 24px;
    margin-right: 24px;
    padding: 24px;
  }
  .kc-custom-card > img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .kc-custom-title {
    line-height: 34px;
  }
}

@media (min-width: 640px) {
  .kc-custom-card {
    width: 560px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

.kc-brand-header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
}

.kc-brand-header-divider {
  width: 1.5px;
  height: 16px;
  background: var(--text-default);
  display: inline-block;
}

.kc-brand-header-logo {
  width: 32px;
  height: 32px;
}

@media (max-width: 640px) {
  .kc-brand-header-name {
    font-size: 20px;
  }
}

/**
 * Fallback des pages Keycloak non customisées
 */

.login-pf-page:not(:has(.kc-custom-shell)) {
  padding: calc(var(--kc-header-height) + 50px) 16px 24px;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-header {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--kc-header-height);
  margin: 0;
  padding: 0 16px;
  background: var(--kc-header-bg);
  box-shadow: var(--shadow);
  z-index: 20;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-header-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0;
  font-size: 0;
  color: var(--text-default);
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-header-wrapper::before {
  content: "";
  width: 32px;
  height: 32px;
  background: url("../img/Datacopro.svg") no-repeat center / contain;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-header-wrapper::after {
  content: "Datacopro Connect";
  padding-left: 10px;
  border-left: 1.5px solid var(--text-default);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-transform: none;
  letter-spacing: normal;
}

.login-pf-page:not(:has(.kc-custom-shell)) .card-pf {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px !important;
  background: var(--kc-card-bg);
  border-radius: var(--kc-radius-card);
  box-shadow: var(--shadow);
  color: var(--text-default);
}

.login-pf-page:not(:has(.kc-custom-shell)) .login-pf-header {
  margin-bottom: 24px !important;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-page-title {
  display: block;
  margin: 0;
  color: var(--text-default);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-content-wrapper p {
  margin: 0;
  text-align: center;
}

.login-pf-page:not(:has(.kc-custom-shell)) .row,
.login-pf-page:not(:has(.kc-custom-shell)) .form-group {
  margin-left: 0;
  margin-right: 0;
}

.login-pf-page:not(:has(.kc-custom-shell)) [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.login-pf-page:not(:has(.kc-custom-shell)) form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-pf-page:not(:has(.kc-custom-shell)) label,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-form__label-text {
  color: #25315a;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.login-pf-page:not(:has(.kc-custom-shell)) input[type="text"],
.login-pf-page:not(:has(.kc-custom-shell)) input[type="email"],
.login-pf-page:not(:has(.kc-custom-shell)) input[type="password"],
.login-pf-page:not(:has(.kc-custom-shell)) input[type="tel"],
.login-pf-page:not(:has(.kc-custom-shell)) input[type="number"],
.login-pf-page:not(:has(.kc-custom-shell)) select,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-form-control {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--kc-outline);
  border-radius: var(--kc-radius-pill);
  background: #fff;
  color: var(--kc-ink);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 14px;
  outline: 0;
}

.login-pf-page:not(:has(.kc-custom-shell)) input:focus,
.login-pf-page:not(:has(.kc-custom-shell)) select:focus,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-form-control:focus {
  border-color: var(--kc-primary);
  box-shadow: var(--kc-focus);
}

.login-pf-page:not(:has(.kc-custom-shell)) input[aria-invalid="true"],
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-form-control[aria-invalid="true"] {
  border-color: var(--mango-500);
  background: var(--mango-50);
}

.login-pf-page:not(:has(.kc-custom-shell)) input[type="submit"],
.login-pf-page:not(:has(.kc-custom-shell)) button[type="submit"],
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-button,
.login-pf-page:not(:has(.kc-custom-shell)) .btn {
  width: 100%;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--blue_zodiac_100);
  border-radius: var(--kc-radius-pill);
  background: #fff;
  color: var(--blue_zodiac_500);
  font-family: var(--font-primary), system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-button:hover,
.login-pf-page:not(:has(.kc-custom-shell)) .btn:hover {
  background: var(--blue_ribbon_50);
  border-color: var(--blue_ribbon_75);
}

.login-pf-page:not(:has(.kc-custom-shell)) input[type="submit"]:not(.pf-m-secondary):not(.btn-default),
.login-pf-page:not(:has(.kc-custom-shell)) button[type="submit"]:not(.pf-m-secondary):not(.btn-default),
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-button.pf-m-primary,
.login-pf-page:not(:has(.kc-custom-shell)) .btn-primary {
  border-color: transparent;
  background: var(--kc-primary);
  color: #fff;
}

.login-pf-page:not(:has(.kc-custom-shell)) input[type="submit"]:not(.pf-m-secondary):not(.btn-default):hover,
.login-pf-page:not(:has(.kc-custom-shell)) button[type="submit"]:not(.pf-m-secondary):not(.btn-default):hover,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-button.pf-m-primary:hover,
.login-pf-page:not(:has(.kc-custom-shell)) .btn-primary:hover {
  background: var(--kc-primary-pressed);
}

.login-pf-page:not(:has(.kc-custom-shell)) input[type="submit"]:focus-visible,
.login-pf-page:not(:has(.kc-custom-shell)) button:focus-visible,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-button:focus-visible,
.login-pf-page:not(:has(.kc-custom-shell)) .btn:focus-visible {
  box-shadow: var(--kc-focus);
  outline: none;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-content-wrapper a:not(.pf-c-button):not(.btn) {
  color: var(--kc-primary);
  font-weight: 500;
  text-decoration: none;
}

.login-pf-page:not(:has(.kc-custom-shell)) #kc-content-wrapper a:not(.pf-c-button):not(.btn):hover,
.login-pf-page:not(:has(.kc-custom-shell)) #kc-content-wrapper a:not(.pf-c-button):not(.btn):focus-visible {
  text-decoration: underline;
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--kc-radius-card);
  background: var(--blue_ribbon_50);
  box-shadow: none;
  color: var(--text-default);
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert.pf-m-danger,
.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert.pf-m-warning {
  background: var(--mango-50);
  color: var(--mango-600);
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert.pf-m-success {
  background: var(--vert_50);
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert::before {
  display: none;
}

.login-pf-page:not(:has(.kc-custom-shell)) .pf-c-alert__title {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .login-pf-page:not(:has(.kc-custom-shell)) {
    padding: calc(var(--kc-header-height) + 16px) 24px 16px;
  }

  .login-pf-page:not(:has(.kc-custom-shell)) #kc-header {
    padding: 0 10px;
  }

  .login-pf-page:not(:has(.kc-custom-shell)) .card-pf {
    padding: 24px !important;
  }

  .login-pf-page:not(:has(.kc-custom-shell)) #kc-page-title {
    line-height: 34px;
  }
}
