/* Form layouts */
form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.homii-form-group {
    font-weight: 400;
    font-size: 12px;
    color: rgb(100, 116, 139);
}

form > .homii-form-group:nth-last-child(2) {
    margin-bottom: 12px;
}

form > .homii-form-group:last-child {
    display: flex;
    -webkit-box-pack: end;
    justify-content: space-between;
}

/* Text inputs */
input[type="text"], input[type="password"] {
    width: 100%;
    max-width: 320px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgb(17, 24, 39);
    font-size: 14px;
    background-color: rgb(241, 245, 249);
}

input[type="text"][aria-invalid="true"], input[type="password"][aria-invalid="true"] {
    border: 1px solid rgb(220, 38, 38);
    color: rgb(220, 38, 38);
}

/* Checkbox */
.checkbox > label {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Labels, etc  */
.homii-label {
    margin-bottom: 8px;
    display: inline-block;
}

.homii-password-visibility-button {
    display: none;
}

.homii-input-error-message {
    display: inline-block;
    color: rgb(239, 68, 68);
    margin-top: 4px;
    font-size: 12px;
}

/* Bottom of form */
.homii-form-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#kc-form-options {
    display: flex;
    align-items: center;
}

input[type="submit"] {
    height: 48px;
    padding: 0px 16px;
    min-width: 100px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    border: none;
    background-color: rgb(0, 158, 153);
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

/* Social buttons section */
#kc-social-providers, #kc-info {
    border-top: 1px solid rgb(226, 232, 240);
    font-size: .875rem;
}

#kc-social-providers h2 {
    margin-bottom: 12px;
    font-size: .875rem;
    color: rgb(100, 116, 139)
}

#kc-social-providers {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    justify-content: space-between;
}

.homii-social-account-list {
    display: flex;
    gap: 8px;
}

.homii-social-button {
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    color: rgba(0, 0, 0, 0);
    font-size: 0;
    height: 48px;
    width: 64px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    border: none;
    background-color: #F1F5F9;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

#social-facebook {
    background-image: url(../img/facebook.svg);
}

#social-google {
    background-image: url(../img/google.svg);
}

#social-microsoft {
    background-image: url(../img/microsoft.svg);
}

#kc-social-providers ul {
    list-style: none;
}

#kc-totp-settings {
    border-bottom: 1px solid rgb(226, 232, 240);
}

#kc-totp-settings li {
    margin-left: 24px;
}

#kc-totp-settings > li {
    margin-bottom: 6px;
}
