@import '../../../styles/variables.less';

:host {
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0;
    text-align: center;
    & div.modal {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px;
        margin: 0;
    }
    & div.progress {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 12px;
        margin: 0;
        & > * {
            z-index: 1;
        }
        & img {
            position: absolute;
            display: block;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
            animation: appearing 3s linear forwards;
        }
        @keyframes appearing {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 0.5;
            }
        }
    }
    & * {
        color: var(--scheme-color-1);
    }
    & mat-spinner {
        display: block;
    }
    & mat-icon {
        display: block;
        height: 32px;
        width: 32px;
        font-size: 32px;
        color: var(--scheme-color-warning-light)
    }
    & p {
        text-align: left;
        padding: 12px 0;
        overflow-wrap: anywhere;
    }
    & div.controls{
        position: relative;
        text-align: right;
        padding: 12px 0 6px 0;
        width: 100%;
        white-space: nowrap;
        & button {
            display: inline-block;
            margin-left: 12px;
        }
    }
}