:root {
    --text-color: #000000;
    --background-color: #ffffff;

    --image-url: url(./assets/images/trask-for-identity-light.svg);

    --disabled-lang-color: #d2cece;
    --active-lang-color: var(--pf-global--link--Color);
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --background-color: #1e1f23;

        --image-url: url(./assets/images/trask-for-identity-dark.svg);


        --pf-c-card--BoxShadow: 230px!important;
        --disabled-lang-color: #666464;
        --active-lang-color: #ffffff;
    }
    .pf-c-card {
        background-color: var(--background-color)!important;
        -webkit-box-shadow: 0px 0px 1px 1px rgba(255,255,255,1)!important;
        -moz-box-shadow: 0px 0px 1px 1px rgba(255,255,255,1)!important;
        box-shadow: 0px 0px 1px 1px rgba(255,255,255,1)!important;
    }
}

body {
    background: var(--background-color)!important;
    color: var( --text-color);
}

label {
    color: var( --text-color)!important;
}

#kc-page-title {
    margin-bottom: .5em;
    font-size: 1.3em;
}

#kc-header-wrapper {
    /*font-size: 29px;*/
    font-size: 0;
    background: var(--image-url)  no-repeat center;
    background-size: 250px;
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;

}

#kc-locale {
    justify-content: flex-end;
}

#locale-select {
    border: none;
    width: 100px;
    font-size: 18px;
}

.locale-icon {
    font-size: 18px;
    margin-right: 0.5em;
}

#realm-name {
    margin-bottom: 1em;
    font-size: .9em;
}

.pf-c-check  {
    margin-bottom: .5em !important;
}

.pf-c-check-remember-token {
    margin-top: 1em !important;
}

.refined-card {
    margin: 0.5em 0.5em 0.5em 0.5em!important;
    cursor: pointer;
}

.refined-card:hover {
    background-color: aliceblue;
}

.choose-provider-text {
    font-size: .9em;
    margin-bottom: 1em;
    text-align: center;
}

.lang-link {
    color: var(--disabled-lang-color);
}

.active-lang-link {
    color: var(--active-lang-color);
}

.login-form {
    /*min-width: 270px!important;*/
    /*max-width: 270px!important;*/
    /* forcing width to 330 since global theme is wider than 270px */
    min-width: 330px!important;
    max-width: 330px!important;
}

.global-login-form {
    min-width: 330px!important;
    max-width: 330px!important;
}

.trask-alert {
    margin-top: 0.3em!important;
}

.tokentype-select {
    margin-top: 1.5em!important;
    margin-bottom: 0.8em!important;
}

#trigger-again {
    margin-top: 1.2em!important;
}
