@import '~styles/variables.scss';
:host {
    flex-direction: column;
    .input-wrapper {
        width: 100%;
        position: relative;
    }
    
    .dropify-wrapper {
        width: 100%;
        height: 83px;
        margin-top: 4px;
        position: relative;
        background-color: #EEEEEE;
        border: 1px dashed #EEEEEE;
        background-repeat: repeat;

        &:hover {
            border: 1px dashed $second-main-color;
            background-size: 30px 30px;
            background-image: -webkit-linear-gradient(135deg,#F6F6F6 25%,transparent 25%,transparent 50%,#F6F6F6 50%,#F6F6F6 75%,transparent 75%,transparent);
            background-image: linear-gradient(-45deg,#F6F6F6 25%,transparent 25%,transparent 50%,#F6F6F6 50%,#F6F6F6 75%,transparent 75%,transparent);
            -webkit-animation: stripes 2s linear infinite;
            animation: stripes 1s linear infinite;
        }

        .dropify-message,
        .dropify-preview {
            text-align: center;
            padding: 10px;

            .dropify-icon {
                font-size: 33px;
            }
        }

        .dropify {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            height: 100%;
            width: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 5;
            font-size: 0;
        }

        .remove-file {
            position: absolute;
            cursor: pointer;
            top: 5px;
            right: 5px;
            z-index: 10;

            &:hover {
                color: $primary-text-color;
            }
        } 
    }
    .mat-hint {
        color: red;
        font-size: 12px;
        position: absolute;
    }
}

::ng-deep {
    .info-box {
        margin-bottom: 24px;
        display: flex;
        align-items: center;

        i {
            font-size: 11px;
            line-height: 15px;
        }
    }
}