/*CSS login-form*/
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"Poppins", sans-serif; font-size:15px; font-weight:400; color:#0E3772; }
.container-fluid { width:100%; padding:0 !important; margin-right:auto; margin-left:auto; }

h1 span { display:block; width:0; height:0; margin:0; font-size:0; }
#banner { margin-bottom:30px; }

a { font-weight:600; text-decoration:none; color:#FC561D; }
sup { top: -.8em !important; }  /*overwrite scss*/

.row { margin:0; padding:0 10% 0 10%; background-color:#F5F7F9; }
div[class^="col-"] { padding: 5px; border-color: #FF6600; }

/*persolog corporate colors NEW:*/
.bg-persolog-lightbg, div.persolog-lightbg { background-color:#F5F7F9; }
.bg-persolog-lighthover, div.persolog-lighthover { background-color:#E9EDF2; }
.bg-persolog-darkgrey, div.persolog-darkgrey { background-color:#7C828B; }
.bg-persolog-blue, div.bg-persolog-blue { background-color:#0E3772; }   /*persolog-dunkelblau NEU*/
.persolog-blue { color:#0E3772; }
.bg-persolog-orange, div.bg-persolog-orange { background-color:#FC561D; }  /*persolog-orange NEU*/
.persolog-orange { color:#FC561D; }

.dots { border: 3px dotted #CCCCCC !important; }
.shad { -webkit-box-shadow:-3px 3px 32px -12px rgba(0,0,0,0.75); -moz-box-shadow:-3px 3px 32px -12px rgba(0,0,0,0.75); box-shadow:-3px 3px 32px -12px rgba(0,0,0,0.75); }
.text-right { text-align:right; }
.icon-list { list-style:none; margin:0 0 30px 0; padding:0; font-size:13px; }
.fs1-2em { font-size:1.2em; }
.fs-0-5em { font-size:0.5em; }
.fw400 { font-weight:400; }

.mb-3 { margin-bottom: 1rem !important; }
.mt-5 { margin-top: 3rem !important;}
.pt-5 { padding-top: 3rem !important;}
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.hidden { display:none; }
.hinweis { text-align:left !important; hyphens:none; color:#0E3772; }



/*----------- login form --------------*/
input, input.form-control { color:#0E3772; border:1px solid #edeaea; background-color:#F5F7F9; }
input, .form-control, .btn { /*border-radius:0.35em;*/ }
[class~='form-group']:last-of-type { margin-bottom:0 !important; }

/*background*/
.login-pf body, .login-pf { /*background: url("../img/keycloak-bg.png") no-repeat center center fixed; background-size: cover; height: 100%;*/  }
.login-pf-page { padding-bottom:30px; background-color:#F5F7F9; }
.card-pf { width:100%; max-width: 600px; margin:auto; padding:20px !important; background-color: #FFFFFF; border-radius:0.25em; /*-webkit-box-shadow:3px 3px 22px -12px rgba(0,0,0,0.75); -moz-box-shadow:3px 3px 22px -12px rgba(0,0,0,0.75); box-shadow:3px 3px 22px -12px rgba(0,0,0,0.75) !important;*/ }

/*messages, alerts,..*/
.kc-error-message, .kc-error-message p, .kc-feedback-text, .kc-feedback-text p { text-align:center; display:block; -moz-hyphens:none; -ms-hyphens:none; -webkit-hyphens:none; hyphens:none; color:#0E3772; }

.kc-feedback-text { padding-left:26px; text-align:left; }
.kc-feedback-text::before, .alert span::before { position:absolute; top:12px; left:20px; font-family:"FontAwesome"; font-size:1.2em; margin-right: 6px; }

/*messages tiefer setzen bei floating labels*/
div.form-floating .alert { margin-bottom:0; padding-top:1.7rem; }
div.form-floating .kc-feedback-text::before { top:25px; }

.alert .pficon-error-circle-o::before { font-family:"FontAwesome"; content:"\f06a"; color:#FC561D; }
.alert .pficon-ok::before { font-family:"FontAwesome"; content:"\f05d"; }
#passwordCriteriaWrapper { transition: all 300ms ease-in-out; margin-top: 0.5em; }
p.instruction { text-align: left; color:#0E3772; }

.alert-warning { border-color:#FC561D ; color:#FC561D ; }


/*buttons*/
.btn-primary {
    width:100%;
    cursor:pointer;
    border:none;
    border-radius:0.25em;
    font-size:15px;
    font-weight: 600;
    color:#ffffff;
}

.btn-persolog-orange { background:#FC561D }
.btn-persolog-orange:hover { background:#ff743d; }
.btn-persolog-blue { background:#0E3772 }
.btn-persolog-blue:hover { background:#1c4e94; }

div#persolog-new-user .btn-primary { border-radius:0.25em; background:#0E3772; }
div#persolog-new-user .btn-primary:hover { background:#1c4e94; }

.btn-primary a, .btn-primary a:hover, #persolog-new-user .btn-primary a, #persolog-new-user .btn-primary a:hover { text-decoration:none; color:#ffffff; }

#persolog-login { margin-bottom:60px; }
#kc-login, #kc-register, .button-orange  { font-size:15px; font-weight:600; border-radius:0.25em; background-color:#FC561D !important; }
#kc-login:hover { background-color:#ff743d !important; }

#persolog-new-user .user-icon { padding: 0 0 4px 0; color:#FFFFFF; background-color:#0E3772; }
#persolog-new-user .user-icon:hover { background-color:#195a99; color:#FFFFFF; }
#persolog-new-user .user-icon::before { font-family:"FontAwesome"; font-weight:900; content:"\f234"; font-size:1.4em; margin-right:10px; color:#7491AE; }
#persolog-new-user .user-icon:hover::before { color:#C8DCF0; }

/*----------- logos -------------------*/
ul.logos { list-style:none; }
.flexbox { display:flex; flex-wrap:wrap; flex-direction:row; justify-content:space-between; align-items:auto; align-content:start; padding:0; } 

/*----------- footer -------------------*/
#footer { width:100% !important; padding:10px 10% 60px 10%; align-items:unset; color: #FFFFFF; background-color:#0E3772; }
#footer a { font-weight:bold; color: #FFFFFF; }



/*kc default styles*/
.alert-error {
    background-color: #ffffff;
    border-color: #d94d15;
    color: #333333;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}


a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

.login-pf .container {
    padding-top: 40px;
}

.login-pf a:hover {
    color: #0099d3;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
}

#kc-content {
    width: 100%;
}

.kc-helper-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.kc-helper-actions-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.kc-helper-actions-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-weight: 600;
    text-decoration: none;
    color: #FC561D;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

.kc-helper-actions-button:hover {
    color: #0099d3;
}

.kc-helper-actions-separator {
    color: #0E3772;
    line-height: 1;
}

.kc-password-field {
    position: relative;
}

.kc-password-field input.form-control {
    padding-right: 2.75rem;
}

.kc-password-field label {
    padding-right: 2.75rem;
}

.kc-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    z-index: 3;
    border: 0;
    background: transparent;
    color: #0E3772;
    padding: 0.25rem;
    line-height: 1;
}

.kc-password-toggle:hover {
    color: #1c4e94;
}

.kc-password-toggle:focus-visible {
    outline: 2px solid #0E3772;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

#kc-attempted-username{
    font-size: 20px;
    font-family:inherit;
    font-weight: normal;
    padding-right:10px;
}

#kc-username{
    text-align: center;
}

#kc-webauthn-settings-form{
    padding-top:8px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
}

/* TOTP */

.subtitle {
    text-align: right;
    margin-top: 30px;
    color: #909090;
}

.required {
    color: #CB2915;
}

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width:150px;
    max-height:150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.kc-login-tooltip{
    position:relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity:0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before{ content: "\f15d"; }
.zocial.stackoverflow:before{ color: inherit; }

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}



.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}
.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

.login-pf-page .btn-primary {
    margin-top: 0;
}

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}


#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

#kc-back {
    margin-top: 5px;
}

form#kc-select-back-form div.login-pf-social-section {
    padding-left: 0px;
    border-left: 0px;
}



@media (min-width: 768px) {
   /* #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }*/
}

@media (max-width: 767px) {

    /*.login-pf body {
      background: white;
    }

    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
      font-size: 16px;
      font-weight: bold;
      padding: 20px 60px 0 0;
      color: #72767b;
      letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }
*/
}

@media (min-height: 646px) {
    /*#kc-container-wrapper {
        bottom: 12%;
    }*/
}

@media (max-height: 645px) {
    /*#kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }*/
}



/*tablet*/
@media (max-width: 840px) {
    /*.login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      padding: 20px 20px 30px 20px;
    }*/
}
@media (max-width: 767px) {
    /*.login-pf-page .card-pf{
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      padding-top: 0;
    }
    .card-pf.login-pf-accounts{
      max-width: none;
    }*/
}

@media (min-width: 768px) {
  /*.login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
  }
  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }*/
}

.btn.btn-primary.disabled {
    background-color: grey;
    pointer-events: none;
}

/*-------- loading indicator -------*/
#loadingIndicator {
    transition: opacity 300ms ease-in-out;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: .01vh;
    z-index: 10;
    opacity: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.37);
    backdrop-filter: blur(3px);
    user-select: none;
}

#loadingIndicator.active {
    height: 100vh;
    opacity: 1;
}

#loadingIndicator i.fa {
    display: none;
    font-size: 70px;
    color: #0E3772;
    height: 100vh;
    line-height: 100vh;
}

#loadingIndicator.active i.fa {
    display: inline-block;
}

.text-no-deco {
    text-decoration: none;
}

/*----------- info page (RDT-328) -------------*/
.info-page .login-pf-page .login-pf-page { padding-top:40px; }
.info-page #kc-page-title { text-align:left !important; }
.info-page-title { margin:0 0 4px 0; font-size:1.55em; font-style:normal; font-weight:700; color:#0E3772; }
.info-page-body { text-align:left; }
.info-page-instruction { text-align:left; line-height:1.6; color:#0E3772; }
.info-page-action { margin:20px 0 0 0; text-align:left; }
.info-page .info-page-link { font-size:1.05em; font-weight:700; text-decoration:underline; color:#0E3772; }
.info-page .info-page-link:hover, .info-page .info-page-link:focus { color:#FC561D; text-decoration:underline; }

/*----------- verify e-mail page (RDT-328) -------------*/
/* Wider, roomier card than the default login form — this page carries more text. */
/* Inner wrapper only (it holds the card), so the page background separates card and header. */
.verify-email-page .login-pf-page .login-pf-page { padding-top:40px; }
.verify-email-page .card-pf { max-width:700px; padding:48px !important; }
.verify-email-page #kc-page-title { text-align:left !important; }
.verify-email-kicker { margin:0 0 8px 0; font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#FC561D; }
.verify-email-title { margin:0 0 4px 0; font-size:1.95em; font-style:normal; font-weight:700; color:#0E3772; }
.verify-email .instruction { text-align:left; margin-bottom:0; line-height:1.6; color:#0E3772; }
/* The message itself is the point of this page, so it carries the most weight. */
.verify-email .verify-email-instruction { font-size:1.25em; line-height:1.55; }
.verify-email-divider { border:0; border-top:2px solid #E9EDF2; margin:32px 0; opacity:1; }
.verify-email-subtitle { margin:0 0 8px 0; font-size:1.05em; font-weight:600; color:#0E3772; }
.verify-email-hint { color:#7C828B; }
.verify-email-resend { display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:24px; }
/* Secondary on purpose: the primary action is the link in the e-mail, not this fallback. */
.verify-email-resend-button { display:inline-block; padding:9px 22px; background-color:transparent; border:2px solid #0E3772; font-size:.95em; font-weight:600; }
/* Scoped with the wrapper class so these win over the theme-wide `.login-pf a:hover`. */
.verify-email .verify-email-resend-button { color:#0E3772; }
.verify-email .verify-email-resend-button:hover, .verify-email .verify-email-resend-button:focus { background-color:#0E3772; color:#FFFFFF; }
.verify-email-resend-button.disabled { pointer-events:none; opacity:.55; }
.verify-email-cooldown { color:#7C828B; font-size:.9em; }
.verify-email-help { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:0; color:#7C828B; font-size:.95em; }
/* `span a` so the support link styling does not also catch the back button below. */
.verify-email .verify-email-help span a { color:#0E3772; }
.verify-email .verify-email-help span a:hover, .verify-email .verify-email-help span a:focus { color:#FC561D; }
.verify-email-back { font-size:1.15em; font-weight:700; text-decoration:underline; }
.verify-email .verify-email-back { color:#0E3772; }
.verify-email .verify-email-back:hover, .verify-email .verify-email-back:focus { color:#FC561D; text-decoration:underline; }

/* Recovery codes page (RDT-347) - mirrors the verify-email page design (RDT-328) */
.recovery-codes-page .login-pf-page .login-pf-page { padding-top:40px; }
.recovery-codes-page .card-pf { max-width:700px; padding:48px !important; }
.recovery-codes-page #kc-page-title { text-align:left !important; }
.recovery-codes-kicker { margin:0 0 8px 0; font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#FC561D; }
.recovery-codes-title { margin:0 0 4px 0; font-size:1.95em; font-style:normal; font-weight:700; color:#0E3772; }
.recovery-codes .instruction { text-align:left; margin-bottom:0; line-height:1.6; color:#0E3772; }
.recovery-codes-intro { font-size:1.15em; line-height:1.55; }
/* The one thing the user must not miss: the codes are shown only once. */
.recovery-codes-once { margin:16px 0 0 0; padding:12px 16px; border-left:4px solid #FC561D; background:#FFF4EE; text-align:left; line-height:1.6; color:#0E3772; }
.recovery-codes-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:12px 32px; margin:28px 0 20px 0; padding:24px 28px; background:#F5F8FA; border-radius:4px; list-style-position:inside; }
.recovery-codes-grid li { font-family:"SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size:1.05em; letter-spacing:.05em; color:#0E3772; text-align:left; }
.recovery-codes-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.recovery-codes-action-button { padding:9px 22px; background-color:transparent; border:2px solid #0E3772; font-size:.95em; font-weight:600; color:#0E3772; }
.recovery-codes-action-button:hover, .recovery-codes-action-button:focus { background-color:#0E3772; color:#FFFFFF; }
.recovery-codes-divider { border:0; border-top:2px solid #E9EDF2; margin:32px 0; opacity:1; }
.recovery-codes-confirm { display:flex; align-items:flex-start; gap:10px; margin-bottom:24px; text-align:left; color:#0E3772; }
.recovery-codes-confirm input[type="checkbox"] { margin-top:4px; flex-shrink:0; }
/* Submit stays persolog blue in every state; bootstrap's :disabled would repaint it. */
.recovery-codes-page .btn-persolog-blue { border-color:#0E3772; color:#FFFFFF; }
.recovery-codes-page .btn-persolog-blue:hover:not(:disabled) { background-color:#1c4e94; border-color:#1c4e94; }
.recovery-codes-page .btn-persolog-blue:disabled { background-color:#0E3772; border-color:#0E3772; color:#FFFFFF; opacity:.55; }

/* Magic-link sent page (RDT-349) - mirrors the verify-email page design (RDT-328) */
.magic-link-sent-page .login-pf-page .login-pf-page { padding-top:40px; }
.magic-link-sent-page .card-pf { max-width:700px; padding:48px !important; }
.magic-link-sent-page #kc-page-title { text-align:left !important; }
.magic-link-sent-kicker { margin:0 0 8px 0; font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#FC561D; }
.magic-link-sent-title { margin:0 0 4px 0; font-size:1.95em; font-style:normal; font-weight:700; color:#0E3772; }
.magic-link-sent .instruction { text-align:left; margin-bottom:0; line-height:1.6; color:#0E3772; }
.magic-link-sent-instruction { font-size:1.25em; line-height:1.55; }
.magic-link-sent-divider { border:0; border-top:2px solid #E9EDF2; margin:32px 0; opacity:1; }
.magic-link-sent-subtitle { margin:0 0 8px 0; font-size:1.05em; font-weight:600; color:#0E3772; }
.magic-link-sent-hint { color:#7C828B; }
.magic-link-sent-help { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:0; color:#7C828B; font-size:.95em; }
.magic-link-sent .magic-link-sent-help span a { color:#0E3772; }
.magic-link-sent .magic-link-sent-help span a:hover, .magic-link-sent .magic-link-sent-help span a:focus { color:#FC561D; }
.magic-link-sent .magic-link-sent-retry { color:#0E3772; font-weight:600; text-decoration:underline; }
.magic-link-sent .magic-link-sent-retry:hover, .magic-link-sent .magic-link-sent-retry:focus { color:#FC561D; text-decoration:underline; }

/* ---------------------------------------------------------------------------
   Shared page design system (RDT-350). Same metrics and colours as the
   verify-email (RDT-328) and backup-codes (RDT-347) pages, factored out so
   every redesigned page stays identical. Primary buttons keep the existing
   .btn-persolog-blue (dark blue, lighter blue on hover); links go orange on
   hover, matching the rest of the theme.
   --------------------------------------------------------------------------- */
.pl-page .login-pf-page .login-pf-page { padding-top:40px; }
.pl-page .card-pf { max-width:700px; padding:48px !important; }
.pl-page #kc-page-title { text-align:left !important; }
.pl-kicker { margin:0 0 8px 0; font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#FC561D; }
.pl-title { margin:0 0 4px 0; font-size:1.95em; font-style:normal; font-weight:700; color:#0E3772; }
.pl-body { text-align:left; color:#0E3772; }
.pl-body .instruction, .pl-lead { text-align:left; margin-bottom:0; line-height:1.6; color:#0E3772; }
.pl-lead { font-size:1.15em; }
.pl-hint { color:#7C828B; line-height:1.6; }
.pl-divider { border:0; border-top:2px solid #E9EDF2; margin:32px 0; opacity:1; }
.pl-subtitle { margin:0 0 8px 0; font-size:1.05em; font-weight:600; color:#0E3772; }
.pl-steps { margin:16px 0 0 0; padding-left:20px; text-align:left; line-height:1.7; color:#0E3772; }
.pl-steps li { margin-bottom:4px; }
/* Secondary action: outline, fills dark blue on hover (never orange fills). */
.pl-btn-secondary, .pl-page .pl-btn-secondary { display:inline-block; width:100%; padding:11px 22px; background-color:transparent; border:2px solid #0E3772; border-radius:4px; font-size:1em; font-weight:600; color:#0E3772; text-align:center; }
.pl-btn-secondary:hover, .pl-btn-secondary:focus { background-color:#0E3772; border-color:#0E3772; color:#FFFFFF; text-decoration:none; }
.pl-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin:0; color:#7C828B; font-size:.95em; }
.pl-footer-link, .pl-page .pl-footer-link { font-size:1.05em; font-weight:700; color:#0E3772; text-decoration:underline; }
.pl-footer-link:hover, .pl-footer-link:focus { color:#FC561D; text-decoration:underline; }
.pl-body a:not(.pl-btn-secondary):not(.pl-footer-link) { color:#0E3772; }
.pl-body a:not(.pl-btn-secondary):not(.pl-footer-link):hover { color:#FC561D; }
/* Centred QR block for the authenticator-app setup page. */
.pl-qr { display:flex; flex-direction:column; align-items:center; gap:12px; margin:24px 0; padding:24px; background:#F5F8FA; border-radius:4px; }
.pl-qr img { display:block; max-width:220px; height:auto; }
.pl-secret { font-family:"SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size:1.05em; letter-spacing:.08em; word-break:break-all; text-align:center; color:#0E3772; }
/* Inline error text under a field keeps the theme's danger colour. */
.pl-field-error { display:block; margin-top:6px; font-size:.9em; color:#dc3545; }

/* RDT-350 follow-up fixes -------------------------------------------------- */
/* Primary and secondary buttons must have identical box metrics: .btn-primary
   sets border:none while the outline variant needs a 2px border, which made the
   secondary button taller. Normalise both inside .pl-page. */
.pl-page .btn, .pl-page .pl-btn-secondary {
    box-sizing:border-box; min-height:48px; padding:11px 22px;
    font-size:15px; font-weight:600; line-height:1.4;
    border-radius:.25em; border:2px solid transparent;
}
.pl-page .pl-btn-secondary { display:block; width:100%; background-color:transparent; border-color:#0E3772; color:#0E3772; text-align:center; }
.pl-page .pl-btn-secondary:hover, .pl-page .pl-btn-secondary:focus { background-color:#0E3772; border-color:#0E3772; color:#FFFFFF; text-decoration:none; }
/* The registration teaser renders in #kc-info, outside the main card, so it
   needs its own card box aligned to the same width. */
.pl-page #kc-registration { max-width:700px; margin:20px auto 0; padding:32px 48px; text-align:left; background:#FFFFFF; }
.pl-page #kc-registration .pl-kicker { margin-bottom:6px; }
.pl-page #kc-registration h3 { margin:0 0 12px 0; font-size:1.5em; font-weight:700; color:#0E3772; }
/* RDT-354: the support hint now follows the register button, so its spacing moved above it. */
.pl-page #kc-registration .pl-hint { margin:20px 0 0 0; }
/* Message boxes on unified pages (the top-level alert from template.ftl and the
   password-policy hint) render like the "important" notice on the backup-codes
   page: thick coloured left border, soft background, no icon. The theme forces
   font-family:"FontAwesome" on .alert span::before, which no longer matches the
   bundled Font Awesome 6, so the icon came out as an empty glyph box. */
.pl-page #kc-content-wrapper > .alert,
.pl-page #passwordCriteriaWrapper {
    display:block; margin:0 0 24px 0; padding:12px 16px;
    border:0; border-left:4px solid #FC561D; border-radius:0;
    background:#FFF4EE; color:#0E3772; text-align:left;
}
.pl-page #kc-content-wrapper > .alert > span[class*="fa-"] { display:none; }
/* The criteria box starts out .hidden and is revealed by password-checker.js;
   the display:block above would otherwise defeat that class. */
.pl-page #passwordCriteriaWrapper.hidden { display:none; }
.pl-page #kc-content-wrapper > .alert .kc-feedback-text,
.pl-page #passwordCriteriaWrapper .kc-feedback-text { padding-left:0; }
.pl-page #kc-content-wrapper > .alert .kc-feedback-text::before,
.pl-page #passwordCriteriaWrapper .kc-feedback-text::before { content:none; }
.pl-page #kc-content-wrapper > .alert ul,
.pl-page #passwordCriteriaWrapper ul { margin:6px 0 0 0; padding-left:20px; }
/* Type-specific accent: the border colour carries the meaning now. */
.pl-page #kc-content-wrapper > .alert-danger { border-left-color:#dc3545; background:#FDF1F2; }
.pl-page #kc-content-wrapper > .alert-success { border-left-color:#2E7D32; background:#F2F8F3; }
.pl-page #kc-content-wrapper > .alert-info { border-left-color:#0E3772; background:#F1F5FA; }
.pl-page .kc-helper-actions a { color:#0E3772; text-decoration:underline; font-weight:600; }
.pl-page .kc-helper-actions a:hover, .pl-page .kc-helper-actions a:focus { color:#FC561D; }
/* The OTP switch is a form; keep it from stretching oddly next to the button. */
.pl-page .kc-helper-actions-form { display:block; width:100%; }

/* RDT-350: one primary colour across the unified pages. The theme already forces
   #kc-login/#kc-register to persolog orange; extend that to the other primary
   CTAs so the button colour no longer flips between step 1 and step 2 of the
   same login flow. Hover uses the theme's existing lighter orange. */
.pl-page #kc-login, .pl-page #kc-register, .pl-page #kc-submit,
.pl-page #saveTOTPBtn, .pl-page #kc-setup, .pl-page .btn-persolog-blue,
.pl-page .button-orange {
    background-color:#FC561D !important; border-color:#FC561D; color:#FFFFFF;
}
.pl-page #kc-login:hover, .pl-page #kc-register:hover, .pl-page #kc-submit:hover,
.pl-page #saveTOTPBtn:hover, .pl-page #kc-setup:hover, .pl-page .btn-persolog-blue:hover,
.pl-page .button-orange:hover,
.pl-page #kc-login:focus, .pl-page #kc-register:focus, .pl-page #kc-submit:focus,
.pl-page #saveTOTPBtn:focus, .pl-page #kc-setup:focus, .pl-page .btn-persolog-blue:focus,
.pl-page .button-orange:focus {
    background-color:#ff743d !important; border-color:#ff743d; color:#FFFFFF;
}
/* Disabled primary (password checker) must not read as an active button. */
.pl-page .btn.btn-primary.disabled, .pl-page .btn.btn-primary:disabled {
    background-color:#FC561D !important; border-color:#FC561D; opacity:.45;
}

/* RDT-350: header logo. The shared `h1 img { width:60% }` media-query rule would
   stretch the new wordmark (it carries intrinsic width/height), so size it here
   explicitly; the id selector wins over the media queries in style.css. */
#header h1 img { width:auto; height:34px; max-width:100%; }
@media screen and (max-width:767px) { #header h1 img { height:28px; } }
/* The support address must never break across lines, in any language. */
a[href^="mailto:"], strong.persolog-orange { white-space:nowrap; }

/* RDT-350: language selector. Stays a native <select> on purpose: it is
   accessible, works without JS, and the login/otp templates hook
   `#header select.mdb-select` to keep the flow state when the locale changes.
   Only the chrome is restyled (native arrow removed, persolog chevron added). */
#header select.mdb-select {
    display:inline-block; width:auto; max-width:240px;
    margin:0; padding:9px 40px 9px 14px;
    border:2px solid #E9EDF2; border-radius:4px;
    background-color:#FFFFFF;
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230E3772'%3E%3Cpath d='M3.2 5.6h9.6L8 11.2z'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 13px center; background-size:12px 12px;
    -webkit-appearance:none; -moz-appearance:none; appearance:none;
    font-family:inherit; font-size:15px; font-weight:600; line-height:1.4; color:#0E3772;
    cursor:pointer; transition:border-color .15s ease-in-out, background-color .15s ease-in-out;
}
#header select.mdb-select:hover { border-color:#0E3772; }
#header select.mdb-select:focus,
#header select.mdb-select:focus-visible { outline:none; border-color:#0E3772; box-shadow:0 0 0 3px rgba(14,55,114,.12); }
/* Native option lists cannot be styled cross-browser; keep them legible at least. */
#header select.mdb-select option { color:#0E3772; background-color:#FFFFFF; font-weight:500; }
@media screen and (max-width:767px) {
    #header select.mdb-select { padding:7px 34px 7px 10px; font-size:14px; background-position:right 10px center; }
}

/* RDT-350 follow-up: breathing room above a secondary action. The theme zeroes the
   bottom margin of #kc-form-buttons, so the whole gap lives here; 24px matches the
   verify-email resend button, which is the spacing we want everywhere. */
.pl-page .pl-btn-secondary { margin-top:24px; }
/* Two stacked secondaries (never seen today, but keep them from doubling up). */
.pl-page .pl-btn-secondary + .pl-btn-secondary { margin-top:12px; }
/* The address on the magic-link confirmation gets its own line so a long one
   never wraps mid-sentence. */
.magic-link-sent-instruction strong { display:block; margin:8px 0; overflow-wrap:anywhere; }

/* Authenticator chooser (RDT-350). The list markup and its auto-submit script are
   unchanged; only the presentation is ours. */
.pl-auth-list { list-style:none; margin:0; padding:0; }
.pl-auth-list li { margin:0 0 20px 0; }
.pl-auth-list li:last-child { margin-bottom:0; }
.pl-auth-list form { margin:0; }
.pl-auth-list .pl-btn-secondary { margin-top:0; }
.pl-auth-list small { display:block; margin-top:6px; text-align:center; font-size:.9em; }
/* The magic-link confirmation reads as a centred message: the address sits on its
   own line, so centring keeps the block from looking ragged. */
.magic-link-sent-page #kc-page-title { text-align:center !important; }
.magic-link-sent { text-align:center; }
.magic-link-sent .instruction, .magic-link-sent .magic-link-sent-instruction { text-align:center; }
.magic-link-sent .magic-link-sent-subtitle { text-align:center; }
.magic-link-sent .magic-link-sent-help { justify-content:center; text-align:center; flex-direction:column; gap:8px; }
