.image-list .files-text {
    display: inline-block;
    overflow: visible;
    width: 100%;
    height: 24px;
    border: 1px solid #ccc;
    vertical-align: top;
    text-decoration: none!important;
    line-height: 24px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    background:#434a54;
    color:#fff;
}

.image-list .files-input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip:rect(0,0,0,0); border: 0;
}

.image-list * {
    font-size: 13px;
    box-sizing: border-box;
}

.image-list button {
    margin: 0 !important;
}

.image-list .file-list-info {
    float: left;
    white-space: nowrap;
    padding: 0;
    background: #f5f5f5;
    border-right: 1px solid #ccc;
    text-align:center;
}

.image-list .file-list-info span {
    display: block;
    width: 100%;
    margin: 12px 0;    
    padding:0 10px;
}

.image-list .file-list-info .total-size {
    color: #333;
}

.image-list .file-list {
    padding: 0 0 0 0;
    margin: 0 0 0 10px;
    border: none;
}

.image-list .file-list ul {
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
}

.image-list .file-list ul li {
    position: relative;
    display: inline-block;
    margin: 3px;
    width: 60px;
    height: 60px;
    border: 3px solid #fff;
    overflow:hidden;
}

.image-list .file-list ul li .image-wrapper {
    width: 54px;
    height: 54px;;
}

.image-list .file-list ul li.checked {
    border: 3px solid #dc3545;
}

.image-list .file-list ul li img {
    width: 100%;
    height: auto;
}

.image-list .file-list ul li .image-size {
    color: #666;
    font-size: 10px;
}

.image-list .file-list ul li .image-check {
    position: absolute;
    height: 12px;
    width: 12px;;
    top: 0;
    left: auto;
    right: 0;
    margin: 0;
    padding: 1px 0 1px 2px;
    border: 0;
    border-radius: 0 0 0 5px;
    outline: none;
    background-color: #dc3545;
}

.image-list .file-list ul li.checked .image-check {
    display: block;
}

.image-list .file-list ul li:not(.checked) .image-check {
    display: none;
}

.image-list .file-list ul li .image-check svg {
    display: inline-block;
    font-size: 10px;
    height: 1em;
    width: 1em;
    overflow: visible;
    vertical-align: 0.875em;
    margin: 0;
    padding: 0;
    color: #fff;
}

.image-list {
    display: flex;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin: 10px 0 10px 0;
    background: #fff;
    border:1px solid #ccc;
}

.image_list li {
  position: relative; /* 자식 요소의 absolute positioning 기준 */
}

.delete-single-image {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 16px; /* 버튼 높이에 맞게 조정 */
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  z-index: 10; /* 다른 요소 위에 표시 */
  display: none; /* 기본적으로 숨김 */
}

.image_list li:hover .delete-single-image {
  display: block; /* 마우스 호버 시 표시 */
}

.delete-single-image:hover {
  background-color: rgba(255, 0, 0, 0.7); /* 호버 시 배경색 변경 */
}