@font-face {
    font-family: 'Oswald';
    src: url('/v2/fonts/Oswald/Roboto-Regular.ttf') format('truetype');
  }
  
@media screen and (max-width: 576px) {
    .sent-code-container > section:last-child {
        flex-direction: column-reverse;
    }
} 
.loader {
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
} 

#btn_reset_password, #send-code, #btn-submit-username {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Oswald;
    letter-spacing: 1px;
}
#form_password > div > button {
    background: #1964ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    width: 100%;
    font-size: 15px;
} 

.input_container {
    position: relative;
}
.input_container > input {
    border: unset!important;
    border-bottom: 1px solid #4E535D!important;
    border-radius: unset!important;
    outline: none;
}
.input_container > input:focus {
    border-bottom: 1px solid #1964ff!important;
}
.input_container > input:focus + label,.input_container > input:not(:placeholder-shown) + label {
    font-size: 12px;
    top: 10%;
    color: #1964ff!important;

}
.input_container > label {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    font-size: 14px;
    left: 10px;
    transition: .3s;
}
#form-back {
    color: #4E535D;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
}
#form-back > svg {
    width: 2rem;
}
#email-error > ul > li, #sending-code-error > li {
    background: #FFD9D9;
    padding: 1rem;
    border-radius: 5px;
    color: #B94A48;
}

.sent-code-container > section:last-child  {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
}

.sent-code-container > section:last-child > article:last-child > div {
    display: flex;
    /* border: 1px solid #4E535D; */
    background: #4e535d0a;
    border-radius: 5px;
    padding: 1rem;
    cursor: pointer;
    align-items: center;
    gap: 1rem;
}
.sent-code-container > section:last-child > article:last-child > div > div > img {
    width: 5rem;
    height: 5rem;
}

.sent-code-container > section:last-child > article:last-child > div > div:last-child > p:last-child {
    font-style: italic;
    font-size: 12px;
    text-decoration: underline;
    color: #1964ff;
}
#send-code {
    background: #1964ff;
    color: #fff;
    cursor: pointer;
    border: none;
    width: 6rem;
    padding: .5rem 1rem;
    border-radius: 10rem;
}
#user_detail-container:has(label) {
    flex-direction: column-reverse;
    align-items: baseline;
    gap: 0!important;
    min-width: 25rem;
}
#user_detail-container:has(label) > input {
    border: unset!important;
    border-bottom: 1px solid #1964ff!important;
    border-radius: 0px!important;
    margin: 0;
}

#user_detail-container:has(label) > input:focus + label {
    color: #1964ff;
}
#btn-submit-username {
    background: #1964ff;
    color: #fff;
    border-radius: 10rem;;
    padding: .5rem 1rem;
    border: none;
    margin-top: 1rem;
    min-width: 6rem;
}
#username-error {
    margin: 0;
}
#username-error > li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #B94A48;
}
#username-error > li > svg {
    width: 1.5rem;

}
#username-error > li > svg path {
    fill: #B94A48;
}