:root {
    --auto-form-main-color: #000000;
}

.auto-form-modal-fone {
    display: none;
    background: rgba(0,0,0,0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100000;    
}

.auto-form-modal-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auto-form-modal-close {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
}

.auto-form-modal-close svg {
    fill: #ddd;
    transition: fill .2s linear;
}

.auto-form-modal-close:hover svg {
    fill: var(--auto-form-main-color);
}

.auto-form, .auto-form * {
    box-sizing: border-box;
    scrollbar-width: none;    
    padding: 0;
    margin: 0;
}

.auto-form::-webkit-scrollbar, .auto-form *::-webkit-scrollbar {
    display: none;
}

.auto-form {
    background-color: #FFF;
    flex-direction: column;
    border-radius: 16px;
    max-height: 900px;
    overflow: scroll;
    display: flex;
    padding: 20px;
}

.auto-form > *:nth-child(2) {
    margin-top: 40px;
}

.auto-form-field {
    all: unset;
    transition: 1s;
    font-size: 16px;
    margin: 10px 0;
    min-height: 42px;
    max-width: 100%;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #d6d6d6;
    text-indent: 2%;
}

.auto-form-field__border-off {
    border: none;
}

.auto-form-input-with-name-wrap {
    cursor: text;
    text-indent: 0;
    position: relative;
    overflow: hidden;
}

.auto-form-input-with-name-wrap > p {
    transition: .5s;
    text-wrap: nowrap;
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
}

.auto-form-input-with-name-wrap > input {
    all: unset;
    position: absolute;
    left: 0;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 96%;
}

.auto-form-input-file-wrap {
    border: none;
    padding: 0;
    text-indent: 0;
    border-radius: 0;
    min-height: auto;
}

.auto-form-input-file-wrap > p {
    color: #656565;
    font-size: 14px;
    text-indent: 15px;
}

.auto-form-input-file {
    all: unset;
    margin: 10px 0;
    font-size: 16px;
    min-height: 42px;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #d6d6d6;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
    gap: 10px;
    text-indent: 0;
    overflow: hidden;
    position: relative; 
}

.auto-form-input-file input {
    position: absolute;
    cursor: pointer;
    height: 100%;
    width: 100%;
    opacity: 0;
    left: 0;
}

.auto-form-input-file div {
    background-color: var(--auto-form-main-color);
    border-radius: 8px;
    height: 35px;
    line-height: 35px;
    color: #FFF;
    font-size: 12px;
    text-align: center;
    cursor: pointer; 
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.auto-form-input-file label {
    position: relative;
    display: block;
    cursor: pointer;
    text-align: center;
    padding: 0 10px;
    z-index: 1;
}

.auto-form-input-radio {
    position: relative;
    min-height: auto;
    transition: 1s;
}

.auto-form-input-radio-wrap {
    text-indent: 0;
    margin: 10px 5px;
    accent-color: var(--auto-form-main-color);
    display: flex;
    align-items: center;
}

.auto-form-input-radio-wrap input {
    margin-top: -2px;
}

.auto-form-input-radio-wrap label {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}

.auto-form-input-radio-wrap span {
    text-wrap: nowrap;
    width: 100px;
}

.auto-form-input-radio-wrap img {
    max-width: 100px;
}

.auto-form-input-checkbox {
    display: flex;
    align-items: center;
    transition: 1s;
}

.auto-form-input-checkbox > input {
    accent-color: var(--auto-form-main-color);
    margin-left: 5px;
    cursor: pointer;
    height: 30px;
    width: 30px;
}

.auto-form-input-checkbox > label {
    padding-left: 5px;
    cursor: pointer;
    width: 100%;
}

.auto-form > textarea {
    text-indent: 0;
    padding: 10px;
    height: auto;
}

.auto-form-input-select {
    transition: 1s;
    position: relative;
    cursor: pointer;
    height: 42px;
}

.auto-form-input-select > p {
    width: 98%;
    overflow: hidden;
    text-wrap: nowrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.auto-form-input-select-svg-wrap {
    transition: 1s;
    background-color: #FFF;
    position: absolute;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    gap: 10px;
}

.auto-form-input-select-svg-wrap > svg {
    height: 50px;
    transition: .5s;
}

.auto-form-input-select-svg-wrap > svg:hover {
    opacity: .6;
    transition: .5s;
}

.auto-form-input-select-open {
    transform: rotate(-90deg);
}

.auto-form-input-select-clear, .auto-form-file-input-clear {
    display: none;
    transition: .7s;
    z-index: 1;
}

.auto-form-file-input-clear {
    background-color: #FFF;
    position: absolute;
    cursor: pointer;
    height: 54px;
    right: 10px;
}

.auto-form-input-select-items {
    display: none;
    text-indent: 0;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: #FFF;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    cursor: default;
    transition: 1s;
    z-index: 1;
}

.auto-form-input-select-item {
    text-wrap: nowrap;
    overflow: hidden;
    margin: 5px;
    padding: 10px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    cursor: pointer;
    transition: .5s;
}

.auto-form-input-select-item:hover {
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
    transition: .7s;
}

.auto-form-inscription {
    min-height: auto;
    border: none;
    text-indent: 0;
}

.auto-form-input-select-checkbox-item {
    align-items: center;
    border-radius: 8px;
    text-indent: 10px;
    transition: .7s;
    cursor: pointer;
    display: flex;
    padding: 10px;
    margin: 5px;
}

.auto-form-input-select-checkbox-item:hover {
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
    transition: .7s;
}

.auto-form-input-select-checkbox-item > label {
    align-items: center;
    display: flex;
    width: 100%;
}

.auto-form-input-select-checkbox-item > input {
    accent-color: var(--auto-form-main-color);
    visibility: visible;
    position: static;
    height: 20px;
    width: 20px;
    opacity: 1;
}

.auto-form-input-select-checkbox-item img {
    width: 100px;
}

.auto-form > input[type="submit"] {
    width: fit-content;
    text-align: center;
    text-indent: 0;
    padding: 0 40px;
    border: 2px solid var(--auto-form-main-color);
    background-color: var(--auto-form-main-color);
    border-radius: 8px;
    min-height: 50px;
    font-weight: 500;
    font-size: 20px;
    color: #FFF;
    margin: auto;
    transition: .5s;
    cursor: pointer;
}

.auto-form > input[type="submit"]:hover {
    transition: .5s;
    background-color: #FFF;
    color: var(--auto-form-main-color);
}

.auto-form-user-data {
    all: unset;
    margin: 10px 0;
}

.auto-form input[type="checkbox"] + label {
    padding: 10px 0 10px 20px;
    line-height: 1.5;
    display: block;
}

.auto-form-browser-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-wrap: nowrap;
    padding: 5px 10px;    
}

.auto-form-browser-field input {
    display: flex;
    align-items: center;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    cursor: pointer;
    border: none;
}

.auto-form-browser-field input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}
