:root {
    --kailo-blue: #56b4e7;
    --kailo-blue-hover: #3aaaef;
}

html {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-image: url('/assets/img/background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.container > main:has(#login-box) {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-right: 1em;
}

.logo img {
    filter: brightness(0) invert(1);
}

.kailo-button {
    background: var(--kailo-blue);
    text-transform: uppercase;
    outline: 0;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}

.kailo-button:hover {
    background: var(--kailo-blue-hover);
    color: #FFFFFF;
}

#login-box {
    display: flex;
    flex-direction: column;
    margin: 0px auto;
    width: 400px;
    padding: 32px 40px;
    background: rgb(255, 255, 255);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    box-sizing: border-box;
    color: var(--ds-text-subtle, #42526E);
}

@media (max-width: 800px) {
    #login-box {
        padding: 32px 16px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 16px;
        width: min(400px, calc(100vw - 24px));
    }

    .container > main:has(#login-box) {
        min-height: auto;
        display: block;
    }
}

.login-provider-buttons .kailo-button{
    width: 100%;
    /*margin-top: 10px;*/
    background: transparent;
    color: unset;
    border: solid 1px;
    border-color: var(--kailo-blue);
}

.provider-button {
    align-items: center;
    display: inline-flex;
    text-align: center;
    vertical-align: middle;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}

.provider-button:hover {
    background: rgba(9, 30, 66, 0.04) !important;
    color: rgb(80, 95, 121) !important;
}

.login-provider-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-provider-buttons img {
    width: 24px;
    margin-right: 5px;
}

.login-local {
    /*margin-top: 15px;*/
}

.login-providers {
    /*margin-top: 15px;*/
}

#login-inter {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 17px;
    gap: 5px;
}

.tenant-name {
    font-weight: 100;
}

#login-header {
    /*margin-bottom: 15px;*/
}

#login-header img {
    max-width: 100%;
    object-fit: contain;
}

#login-footer footer {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    flex-direction: column;
    margin: 0px auto;
    padding-top: 16px;
}

#login-footer footer img {
    width: 66%;
    object-fit: contain;
    filter: invert(0.7);
}

.hr-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #4b4b4b;
    font-size: 17px;
    font-weight: 500;
    line-height: 23px
}

.hr-text:after, .hr-text:before {
    content: "";
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-bottom: 1px solid currentColor;
    opacity: 0.25;
}

.hr-text:not(:empty):before {
    margin-right: .5em
}

.hr-text:not(:empty):after {
    margin-left: .5em
}

#login-separator {
    margin-top: 15px;
    margin-bottom: 15px;
}

.internal-provider {
    display: flex;
    justify-content: center;
}

.internal-provider .link-button {
    font-size: 12px;
    font-weight: 500;
    text-decoration: unset;
}

.link-button {
    display: inline;
    padding: 0;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    background: transparent;
    color: currentColor;
    -webkit-appearance: none;
}
