.quizpress-upload-attachment {
    background-color: #fff;
    display: flex;
    border: 1px dashed var(--quizpress-border-color);
    gap: 24px;
    padding: 14px;
    border-radius: 10px;
    min-height: 140px;
    margin-top: 8px;
    &--left {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 200px;
        height: 140px;
        background: #F7F7F7;
        border: 1px dashed var(--quizpress-border-color);
        border-radius: 4px;
        &__linear {
            height: 80px;
            width: 80px;
            background: linear-gradient(180deg, rgba(229, 229, 229, 0.48) 50%, rgba(247, 248, 248, 0.00) 100%, rgba(229, 229, 229, 0.00) 100%);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            &--img {
                display: flex;
                align-items: center;
                justify-content: center;
                background: #fff;
                border: 1px solid var(--quizpress-border-color);
                height: 56px;
                width: 56px;
                border-radius: 50%;
                img {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        &__uploaded {
            &__large img {
                width: 100%;
                height: 140px;
                margin-top: 4px;
                border-radius: 4px;
            }

            &__small {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 80px;
                width: 80px;
                background: linear-gradient(180deg, rgba(229, 229, 229, 0.48) 50%, rgba(247, 248, 248, 0.00) 100%, rgba(229, 229, 229, 0.00) 100%);
                border-radius: 50%;
                img {
                    background: #fff;
                    border: 1px solid var(--quizpress-border-color);
                    height: 56px;
                    width: 56px;
                    border-radius: 50%;
                    padding: 12px;
                }
            }
        }
    }

    &--right {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-grow: 1;
        min-width: 0;
        &--items {
            flex: 1;
            min-width: 0;
            h3 {
                font-size: 14px;
                margin: 0 0 8px 0;
                word-break: break-word;
            }

            p {
                margin: 0 0 8px 0;
                word-break: break-word;
            }
            
            .quizpress-upload-label {
                margin: 0 0 8px 0;
                font-size: 14px;
            }
        }

        .quizpress-btn-delete {
            background: transparent;
            border: none;
            cursor: pointer;
            .quizpress-icon {
                font-size: 20px;
                &:hover {
                    color: #FF4D4D;
                }
            }
        }
    }
}

@media all and (max-width: 480px) {
    .quizpress-upload-attachment {
        flex-direction: column;
        gap: 16px;
        &--left {
            width: 100%;
            min-height: 150px;
        }
    }
}
