$image-width: 254px;
$image-right-margin: 24px;

.EditArtwork {

    &.EditArtwork-artwork {
        display: flex;
        flex-direction: column;
        margin-right: 25px;
    }

    &-artwork-width {
        width: $image-width;
    }

    &-remove-art {
        color: var(--red);
        cursor: pointer;
        display: flex;
        font-size: 11px;
        font-weight: bold;
        justify-content: flex-end;
        margin-top: 5px;
        text-transform: uppercase;

        .TrashGlyph.Glyph {
            fill: var(--red);
            margin-left: 7px;
        }
    }

    &-img {
        height: $image-width;
        width: $image-width;
    }

    &-reqs {
        color: var(--blue);
        font-weight: bold;
        margin-top: 20px;
        text-transform: uppercase;
    }

    &-requirements-tooltip {
        text-align: left;
        padding: 15px;
    }

    &-requirements-list {
        text-align: left;
        margin-bottom: 0;
        padding-left: 15px;
    }

    &-requirements-header {
        font-weight: bold;
        margin-bottom: 10px;
    }

    &-requirement {
        font-weight: bold;
    }

    &-image {
        align-items: center;
        border: dashed 2px var(--gray-400);
        border-radius: 3px;
        display: flex;
        flex-direction: column;
        height: $image-width;
        justify-content: center;
        margin-right: $image-right-margin;
        text-align: center;
        width: $image-width;
    }

    &-image-cta {
        color: var(--gray-700);
        font-size: 18px;
    }

    &-image-instructions {
        color: var(--gray-800);
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 20px;
        width: 197px;

        label {
            color: var(--blue);
            cursor: pointer;
            font-weight: 500;
            margin-bottom: 0;
        }
    }

    &-image-icon {
        align-items: center;
        background-color: rgba($blue, 0.1);
        border-radius: 73px;
        display: flex;
        height: 73px;
        justify-content: center;
        width: 73px;

        .Outline.Artwork {
            height: 30px;
            stroke: rgba($blue, 0.6);
            width: 30px;
        }
    }

    .Clear.Glyph {
        fill: var(--red);
        margin-right: 5px;
    }

    &-cancel-button {
        color: var(--red);
        cursor: pointer;
        display: flex;
        font-size: 11px;
        font-weight: 500;
        margin-top: 30px;
        text-transform: uppercase;
    }

    &-state-text {
        color: var(--gray-700);
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 25px;
        text-transform: uppercase;
    }

    &-upload-percentage-circle {
        @include spinner(120px);
    }

    &-upload-percentage-container {
        position: relative;
    }

    &-upload-percentage-text {
        align-items: center;
        color: var(--blue);
        display: flex;
        font-size: 36px;
        justify-content: center;
        left: 34%;
        line-height: 1.17;
        position: absolute;
        top: 34%;
    }

    &-choose-file-button {
        padding: 0;

        label {
            margin: 0;
            padding: 8px 14px;
        }
    }

    &-upload-failed-text {
        color: var(--red);
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;

        .Warning.Glyph {
            fill: var(--red);
            position: relative;
            top: -2px;
        }
    }

    &-image-failed {
        justify-content: space-around;
    }

    &-error-text {
        color: var(--red);
        font-size: 12px;
        text-align: center;
        width: 80%;
    }
}

.was-validated {

    .FRCControl-error {

        .EditArtwork {

            &-image {
                border-color: var(--red);
            }
        }
    }
}
