.fara-file-upload {
    width: 100%;
}

.fara-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.fara-file-dropzone {
    display: flex;
    min-height: 132px;
    width: 100%;
    padding: 22px;
    border: 2px dashed rgba(127, 127, 127, .42);
    border-radius: 12px;
    background: rgba(127, 127, 127, .06);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.fara-file-dropzone:hover,
.fara-file-dropzone:focus-visible,
.fara-file-dropzone.is-dragover {
    border-color: currentColor;
    background: rgba(127, 127, 127, .12);
    outline: none;
}

.fara-file-dropzone.is-dragover {
    transform: scale(.995);
}

.fara-file-dropzone-icon {
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(127, 127, 127, .3);
    border-radius: 50%;
    place-items: center;
    font-size: 22px;
    line-height: 1;
}

.fara-file-dropzone-text {
    font-weight: 600;
}

.fara-file-dropzone-help {
    opacity: .7;
    font-size: .85em;
}

.fara-file-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.fara-file-item {
    display: grid;
    min-height: 42px;
    padding: 7px 10px;
    border: 1px solid rgba(127, 127, 127, .24);
    border-radius: 8px;
    background: rgba(127, 127, 127, .06);
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
}

.fara-file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fara-file-size {
    opacity: .65;
    direction: ltr;
}

.fara-file-remove {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(127, 127, 127, .16);
    color: inherit;
    cursor: pointer;
    place-items: center;
    font-size: 21px;
    line-height: 1;
}

.fara-file-remove:hover,
.fara-file-remove:focus-visible {
    background: rgba(220, 45, 45, .18);
    outline: none;
}

.fara-contact-form-submit-button.is-loading {
    cursor: wait;
    opacity: .7;
}

.fara-contact-form-submit-button:disabled {
    pointer-events: none;
}

@media (max-width: 767px) {
    .fara-file-dropzone {
        min-height: 112px;
        padding: 18px 12px;
    }

    .fara-file-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .fara-file-size {
        display: none;
    }
}
