/* reset css */
button, input {
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#kc-header-wrapper {
    display: none;
}

body {
    font-family: 'Roboto', 'sans-serif';
}

.login-pf body {
    border-top: transparent;
    background: transparent;
    background-image: none;
    background-repeat: no-repeat;
}

.container {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    height: 100%;
    width: 100%;
}

.panel,
.loginbox {
    margin-top: 5vh;
    width: 100%;
    max-width: 368px;
}

.panel-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    color: var(--text-secondary, rgba(0, 0, 0, 0.60));
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.panel-title {
    color: var(--Colors-Primary, #5D44F8);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;

    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 133.4%;
    /* 32.016px */
    margin-bottom: 0;
}

.panel-body {
    display: flex;
    flex-direction: column;
    margin-top: 64px;
    gap: 16px;
}

.right {
    text-align: end;
}

.text {
    color: var(--text-secondary, rgba(0, 0, 0, 0.60));
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    /* input/value */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.15px;
}

.text .link{
    font-size: 16px;
}

.link, .link a {
    color: var(--Colors-Primary, #5D44F8);
    font-feature-settings: 'clig' off, 'liga' off;
    /* typography/body2 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 143%;
    /* 20.02px */
    letter-spacing: 0.17px;
}

.btn {
    width: 100%;
    cursor: pointer;
    min-height: 38px;
    color: var(--primary-contrast, #FFF);
    font-feature-settings: 'clig' off, 'liga' off;
    /* button/large */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    padding: 8px;
    text-transform: uppercase;

    border-radius: var(--borderRadius, 4px);
    background: var(--Colors-Primary, #5D44F8);

    /* elevation/2 */
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.20), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.bntError {
    background-color: #FC5555;
}

.logo {
    margin-top: 48px;
    text-align: center;
}

/* Input Style */
.label-float {
    position: relative;
    padding-top: 24px;
    color: var(--text-secondary, rgba(0, 0, 0, 0.60)); 
}

.label-float input {
    width: 100%;
    border: 0;
    border-bottom: 2px solid lightgrey;
    outline: none;
    min-width: 180px;
    font-size: 16px;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    border-radius: 0;
    
}

.label-float input:focus {
    border-bottom: 2px solid var(--Colors-Primary, #5D44F8);
}

.label-float input::placeholder {
    color: transparent;
}



.label-float label {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 18px;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
}

.label-float input:required:invalid+label {
    color: red;
}

.label-float input:focus:required:invalid {
    border-bottom: 2px solid red;
}

.label-float input:required:invalid+label:before {
    content: '*';
}

.label-float input:focus+label,
.label-float input:not(:placeholder-shown)+label {
    font-size: 13px;
    margin-top: 0;
    color: var(--Colors-Primary, #5D44F8);
}

.alert {
    width: 100%;
    min-height: 38px;
    color: var(--Colors-Primary, #910e0e);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    padding: 8px;
    text-align: center;
}

/* Keycloak  */

.login-pf body {
    background: white;
}

.card-pf {
    box-shadow: none;
}

#kc-form-buttons {
    margin-bottom: 1rem;
}


/** Self Registration */
.alert-error, #input-error-password, #input-error-password-confirm {
    text-align: center;
    color: var(--Colors-Primary, #910e0e);
}

.alert-warning {
    text-align: center;
}

.registerbox {
    margin-top: 1vh;
    width: 100%;
    max-width: 368px;
}


/* TOTP */

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

.required {
    color: var(--pf-global--danger-color--200);
}

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

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

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

#kc-totp-settings-form {
    width: 600px;
}

/** Update password */
.input-pwd-reset-grp {
    display: flex;
    flex-direction: row;
}
.input-pwd-reset-grp > span {
    padding-top: 0rem !important;
}

.btn-show-pwd{
    border-radius: 10%;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
}

/** Eye Icon */
.gg-eye {
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 24px;
    height: 18px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
    overflow: hidden;
    box-sizing: border-box
}
.gg-eye::after,
.gg-eye::before {
    content: "";
    display: block;
    border-radius: 100px;
    position: absolute;
    box-sizing: border-box
}
.gg-eye::after {
    top: 2px;
    box-shadow:
        inset 0 -8px 0 2px,
        inset 0 0 0 2px;
    width: 24px;
    height: 24px
}
.gg-eye::before {
    width: 8px;
    height: 8px;
    border: 2px solid;
    bottom: 4px;
    left: 8px
}