:root {
    --danger-500: #DE3B40;
    --neutral-500: #949494;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    font-family: "Exo", sans-serif;
}

main {
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #F9F9F9;
}

.logo {
    width: 146px;
    height: 45px;
}

.logo-wrapper {
    text-align:center;
}

.wrapper {
    display: flex;
    justify-content: center;
    width: 561px;
    height: 405px;
    background: #FFFFFFFF;
    border-radius: 2px;
    border-bottom: 2px solid var(--secondary-500);
    box-shadow: 0px 4px 9px #cccccc;
}

.set-password-wrapper {
    display: flex;
    justify-content: center;
    padding: 72px 116px;
    width: 561px;
    height: 473px;
    background: #FFFFFFFF;
    border-radius: 2px;
    border-bottom: 2px solid var(--secondary-500);
    box-shadow: 0px 4px 9px #cccccc;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 60px auto;
    width: 327px;
    height: 284px;
}

.set-password-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 327px;
    height: 284px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 284px;
    width: 100%;
}

.set-password-form {
    height: 330px;
    width: 330px;
}

.group {
    width: 100%;
}

.forget-password-group {
    width: 100%;
    height: 68px;
}

.textbox input {
    font-family: "Exo", sans-serif;
    width: 100%;
    height: 36px;
    padding-left: 45px;
    padding-right: 12px;
    line-height: 22px;
    font-size: 15px;
    font-weight: 400;
    background: #FFFFFFFF;
    border-radius: 2px;
    border: 1px solid #C1C1C1;
    outline: none;
}

    .textbox input:hover {
        border-color: var(--primary-500);
    }

    .textbox input:focus {
        border-color: var(--primary-500);
    }

    .textbox input::placeholder {
        font-family: "Exo", sans-serif;
        color: #C1C1C1;
    }

.textbox {
    width: 100%;
    position: relative;
}

    .textbox svg {
        position: absolute;
        top: 6px;
        fill: #949494;
    }

    .textbox .input-icon {
        left: 12px;
    }

    .textbox .show-hide-icon {
        right: 12px;
        cursor: pointer;
    }

.set-password-info {
    font-size: 14px;
    width: 100%;
    text-align: center;
    margin: 24px 0;
}

.text-secondary {
    color: #5F5F5F;
}

.reset-info {
    margin-bottom: 23px;
}

.mt-12 {
  margin-top: 48px;
}

.btn {
    width: 100%;
    height: 35px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 22px;
    font-weight: 400;
    border: none;
    border-radius: 2px;
    font-family: "Exo", sans-serif;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.btn_primary {
    color: #FFFFFFFF;
    background: var(--primary-500);
}

    .btn_primary:hover {
        background-color: var(--primary-500);
        opacity: 0.9;
    }

.btn_cancel {
    background-color: #FFFFFF;
    color: var(--primary-500);
}

    .btn_cancel:hover {
        border-bottom: 1px solid var(--primary-500);
    }

.button_group {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.forgot_show_password {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #949494;
}

    .forgot_show_password a {
        text-decoration: none;
        cursor: pointer;
        font-size: 12px;
        color: var(--neutral-500);
    }

        .forgot_show_password a:hover {
            color: var(--primary-500);
        }

    .forgot_show_password p:hover {
        cursor: pointer;
        color: var(--primary-500);
    }

.form_content {
    width: 100%;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 561px;
    padding: 12px 6px;
}

    footer p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        color: #5F5F5F;
    }

    footer img {
        width: 83px;
        height: 25px;
    }

span.error-text {
    display: block;
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
    text-align: left;
    color: var(--danger-500);
    margin-bottom: 12px;
}

.error-list li {
    list-style: none;
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
    color: var(--danger-500);
}

/*----------------------------------------*/
.flip-card {
    background-color: transparent;
    width: 561px;
    height: 405px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}
/*----------------------------------------*/



@media (max-width: 768px) {
    .wrapper {
        width: 100%;
        height: 90vh;
        box-shadow: none;
    }

    .content {
        margin-top: 200px;
    }

    .set-password-wrapper {
        width: 100%;
        height: 90vh;
        box-shadow: none;
    }

    .set-password-content {
        margin-top: 120px;
    }

    footer {
        height: 10vh;
        width: 100%;
        flex-direction: column-reverse;
    }

    .flip-card {
        width: 100%;
        height: 90vh;
        box-shadow: none;
    }
}
