@import "../../global/variables";
@import "../../../../dotcms-scss/shared/colors";
@import "../../../../dotcms-scss/shared/fonts";

dot-asset-drop-zone {
    .dot-asset-drop-zone__indicators {
        --mdc-dialog-scrim-color: transparent;
        --mdc-dialog-max-width: 400px;
        align-items: center;
        background-color: $color-palette-white-op-80;
        border: 3px solid transparent;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
        transition: opacity 250ms ease-in;
        z-index: 1002;

        &.drag-enter,
        &.active {
            pointer-events: all;
            border: 3px dashed $color-palette-secondary-500;
            opacity: 1;

            .dot-asset-drop-zone__icon {
                display: block;
            }
        }
        &.drop {
            pointer-events: all;
            border: 3px dashed #7e7a86;
            opacity: 1;

            dot-progress-bar {
                display: block;
            }
        }

        .dot-asset-drop-zone__icon {
            display: none;

            span {
                display: block;
                color: $color-palette-secondary-500;
                margin-top: -20px;
                font-size: $font-size-lmd;
                text-align: center;
            }
        }

        dot-progress-bar {
            width: 200px;
            display: none;

            span {
                font-size: $font-size-md;
            }
        }
    }

    .dot-asset-drop-zone__error-list {
        list-style-position: inside;
        padding: 0;
        margin-left: 0;
    }

    mwc-icon {
        color: $color-palette-secondary-500;
        --mdc-icon-size: 200px;
    }

    mwc-button {
        @include mwc-dotcms-theme;
    }
}
