* {
    font-family: var(--font-regular);
    font-size: 16px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    padding: 16px;
}

main form {
    align-items: center;
    gap: 28px;
    width: 100%;
}

.hide {
    display: none;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.title.page {
    font-family: var(--font-bold);
    font-size: 40px;
    text-align: center;
    padding-bottom: 24px;
}

.page-text {
    font-size: 18px;
}

.container.data {
    width: 33%;
    max-width: 600px;
    min-width: 320px;
    align-items: center;
    gap: 20px;
}
.container.data > * {
    width: 100%;
}
.required .title::after {
    content: "*";
}

/* input */
.input-field > .label {
    font-weight: 300;
    margin-bottom: 8px;
}
.input-field input {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #7f909f;
    padding: 12px 16px;
}

button.submit,
.container.data > button {
    width: 82%;
    border-radius: 22px;
    background-color: var(--color-prime);
    color: #fff;
    padding: 16px;
}

input {
    padding: 1rem 2rem 1rem 1rem;
    margin-top: 0.5rem;
    width: 97%;
    height: 3rem;
    border-radius: 12px;
    border: 2px solid #e5e9ec;
    border-width: 2.5px;
}

/* otp */
.otp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(51, 79, 102, 0.78);
    z-index: 10;
}
.otp-dialog {
    border: 1px solid var(--color-prime);
    background: #fff;
    padding: 2em;
    text-align: center;
    max-width: 50%;
    margin: auto;
    transform: translate(0, -50%);
    position: relative;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 2em;
    max-width: 500px;
}
.otp-dialog > * {
    width: 100%;
}
.otp-digets {
    display: flex;
    gap: 1em;
    justify-content: space-between;
    padding: 0 1em;
}
.otp input {
    height: 3em;
    width: 3em;
    line-height: 2em;
    text-align: center;
    padding: 0;
}
.otp .label {
    text-align: left;
}
.otp button.submit {
    width: 100%;
}
.otp button.submit.disable {
    background: #e5e9ec;
    color: #80919f;
    border-color: #80919f;
}
.otp .info {
    text-align: left;
    padding-top: 1em;
}
.otp .resend-btn {
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
}
.otp .msg {
    line-height: 1.5em;
    height: 1.5em;
    padding: 0 0 0 1em;
    text-align: left;
}
/*error*/
.error {
    border: 2px solid var(--color-important);
    background: #ff787871;
    padding: 1em;
    border-radius: 16px;
}
/* sucess */
.success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    max-width: 600px;
    margin: auto;
}
.success::before {
    content: url(../images/success.svg);
    width: 50%;
}
.success .title {
    font-size: 40px;
    font-weight: 600;
    line-height: 42px;
}
.success .text {
    font-size: 28px;
    font-weight: 100;
    line-height: 42px;
}