@use '~@/style/globals';

.MaterialViewDocumentsUpload {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    border-left: 1px solid globals.$tabs-bottom-border-color;
    background-color: transparent;
    transition: background-color 300ms ease-out;

    &__title {
        flex: 0 0 auto;
        margin: 30px 0 0;
        font-size: 1.2rem;
    }

    &__choose-files {
        margin: 15px 0;
    }

    &__send-list {
        flex: 1;
        width: 100%;
        margin: 0;
        padding: globals.$content-padding-small-horizontal globals.$content-padding-small-vertical;
    }

    &__file-errors {
        flex: 1;
        margin: globals.$content-padding-large-horizontal 0;
        padding: 0 globals.$content-padding-small-vertical;

        &__item {
            padding: globals.$content-padding-small-horizontal 0;
            color: globals.$text-danger-color;
            list-style: none;
        }
    }

    &__actions {
        flex: 1;
        margin: 20px 0;
        text-align: center;

        &__file-input {
            display: none;
        }

        .Help {
            margin: globals.$content-padding-large-horizontal 0;
        }
    }

    .Progressbar {
        margin-left: globals.$content-padding-large-vertical;
    }

    &--drag-over {
        background-color: rgba(globals.$color-active-button, 0.15);
    }
}
