/* LAYOUT */

.field {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    row-gap: 4px;
    
    &>div:first-child {
    }
}

.options {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    
    input[type=checkbox] {
        accent-color: #08438f;
        height: 21px;
        margin: 0 8px 0 0;
        vertical-align: -4px;
        width: 21px;
    }

    label {
        cursor: pointer;
    }
}

.formSubmit {
    padding: 20px 0;
    text-align: center;
}


/* FIELDS */

select,
textarea,
input[type=number],
input[type=password],
input[type=email],
input[type=text] {
    background: #fff;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
    color: #000;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0 7px;
    
    &:focus {
        border-color: #275bc3;
        outline: 0;
    }
    
    &.field-error {
        border-color: #c10240;
    }
}

select,
input[type=number],
input[type=password],
input[type=email],
input[type=text] {
    height: 45px;
    line-height: 45px;
}

select {
    cursor: pointer;
    font-feature-settings: 'tnum';
    padding: 0 6px;
}

textarea {
    height: 80px;
    max-width: 100%;
    padding: 7px;
    width: 500px;
}

input[type=number],
input[type=text] {
    padding: 0 10px;
    
    &.field-sm {
        width: 110px;
    }
    
    &.field-md {
        width: 190px;
    }

    &::placeholder {
        color: #aaa;
    }
}

input[type=email],
input[type=password],
input[type=text] {
    width: 300px;
}

input[type=number] {
    font-feature-settings: 'tnum';
    width: 95px;
    
    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
}
