@import './unique.css';

.form {
    width: 100vw;
    height: 100vh;
}

.form__content {
    width: 800px;
    display: flex;
    justify-content: space-between;
    background: var(--light);
    border-radius: 36px;
}

.form__fields {
    width: 436px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 31px 0px 44px 40px;

}

.form__fields label {
    color: var(--grey);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.form__fields input {
    height: 50px;
    width: 100%;
    border-radius: 15px;
    border: 1px solid #EFF2F7;
    background: #EFF2F7;
    color: var(--grey);
    font-size: 14px;
    font-weight: 400;
}

.form__fields input:not(:last-child) {
    margin-bottom: 5px;
}

.form__fields button {
    display: inline-flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
    background: var(--sky);
    color: var(--light);
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: .4s ease all;
}

.form__fields button:hover {
    background: var(--primary);
}

.form__info {
    display: flex;
    justify-content: space-between;
    column-gap: 12px;
}

.form__info span {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form__desc {
    color: var(--grey);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
}

.form__switch {
    color: var(--grey);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 12px;
    margin-bottom: 12px;
}

.form__switch a {
    font-weight: 700;
    color: var(--dark);
} 

.form__back {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.form__back span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 10px 10px;
    background: var(--sky);
} 

.form__back span img {
    width: 10px;
    height: 10px;
    transform: rotate(180deg);
}

.form__back svg {
    display: none;
    margin-left: 20px;
}

.form__error {
    color: var(--error);
    font-size: 14px;
}

.form__actions {
    height: 24px;
}

.form__actions p, a  {
    color: var(--grey);
    font-size: 14px;
    font-weight: 400;
}

.form__actions p {
    position: relative;
    top: -4px;
    margin-left: 8px;
}

input[type=checkbox] {
    width: 15px;
    height: 15px;
    border-radius: 6px;
    accent-color: #8a8888;
    mix-blend-mode: multiply;
}

/* MEDIA QUERY */

@media (max-width: 900px) {
    .form-desc__img {
        display: none;
    }
    .form__content {
        width: 100vw;
        height: 100vh;
        justify-content: center;
    }
    .form__back svg {
        display: block;
    }
    .form__fields {
        width: 80%;
        padding-left: 0;
    } 
    .form__info span {
        width: 100%;
    } 
}