@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    text-decoration: none;
    transition: color .1s ease,background-color .3s ease;
    font-family: Poppins,sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    background-color: rgb(245, 245, 244);
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

body > div {
    width: 100%;
    max-width: 360px;
}

body > div > div:nth-child(2) {
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

#kc-header {
    margin: 46px auto 38px;
}

#kc-header-wrapper {
    display: flex;
    justify-content: center;
}

#kc-header-wrapper img {
    max-width: 200px;
}

.homii-form-header { 
    border-bottom: 1px solid rgb(226, 232, 240);
    display: flex;
    flex-direction: column-reverse;
}

header > div {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

#kc-page-title {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    color: rgb(17, 24, 39);
}

.subtitle, a {
    font-weight: 400;
    color: rgb(100, 116, 139);
}

.subtitle {
    font-size: 14px;
    line-height: 24px;
}

#kc-content {
    display: flex;
    flex-direction: column;
}

.homii-form-header, #kc-content-wrapper > * {
    padding: 24px 32px;
}

.alert-error, .alert-success {
    font-size: 14px;
    margin-top: 12px;
}

#kc-error-message {
    font-size: 14px;
    margin-top: 12px;
    color: rgb(220, 53, 69);
}

.instruction {
    font-size: 14px;
    margin-top: 12px;
}

/* Locale */
#kc-locale {
    position: relative;
    align-self: start;
}

#kc-locale-dropdown {
    display: inline-block;
}

#kc-current-locale-link::after {
    content: "\2c5";
}

#kc-locale-dropdown button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: right;
    font-size: 12px;
    color: rgb(100, 116, 139);
}

#kc-locale ul {
    list-style: none;
    background: white;
    box-shadow: 0 0.25rem 0.5rem 0rem rgba(3,3,3,0.12), 0 0 0.25rem 0 rgba(3,3,3,0.06);
    display: none;
    top: 20px;
    right: 0;
    min-width: 100px;
    padding: 0;
    position: absolute;
    border-radius: 8px;
}

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

#kc-locale li {
    font-size: 12px;
    text-align: right;
    padding: 8px 16px;
}

#kc-locale li:first-child {
    border-radius: 8px 8px 0 0;
}

#kc-locale li:last-child {
    border-radius: 0 0 8px 8px;
}

#kc-locale li:hover, #kc-locale li:focus, #kc-locale li:active {
    background-color: rgb(0, 158, 153);
}

#kc-locale li:hover a, #kc-locale li:focus a, #kc-locale li:active a {
    color: rgb(255, 255, 255);
}

