.dropzone {
    width: 100%; /* 좌우로 꽉 차도록 설정 */
    height: 400px; /* 고정 높이 설정 */
    border: 2px dashed #7367f0;
    background: #f8f8f8;
    position: relative;
    overflow-y: auto; /* 세로 스크롤 활성화 */
    overflow-x: hidden; /* 가로 스크롤 비활성화 */
}

.dropzone .dz-message {
    font-size: 14px; /* 폰트 크기를 14px로 변경 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 중앙 정렬 */
    width: 100%;
    color: #7367f0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* 수직 정렬 */
    margin: 0;
    text-align: center;
}

.dropzone .dz-message:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-download'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
    font-size: 80px;
    width: 80px;
    height: 80px;
    display: inline-block;
    margin-bottom: 10px; /* 메시지와 아이콘 사이 간격 추가 */
}

.dropzone .dz-preview {
    background: transparent !important;
}

.dropzone .dz-preview .dz-error-mark,
.dropzone .dz-preview .dz-success-mark {
    z-index: 10;
}

.dropzone .dz-preview .dz-image {
    border-radius: 0.357rem;
}

.dropzone .dz-preview.dz-image-preview {
    background: transparent !important;
}

.dropzone .dz-preview .dz-error-message {
    background: #ea5455;
}

.dropzone .dz-preview .dz-error-message:after {
    border-bottom: 6px solid #ea5455;
}

.dropzone .dz-preview .dz-remove {
    font-size: 1.1rem;
    color: #ea5455;
    line-height: 2rem;
}

.dropzone .dz-preview .dz-remove:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    display: inline-block;
    line-height: 1;
    z-index: 2;
    text-indent: 0px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

.dropzone .dz-preview .dz-remove:hover {
    text-decoration: none;
    color: #e42728;
}

@media (max-width: 576px) {
    .dropzone .dz-message {
        font-size: 14px; /* 모바일 환경에서도 동일한 폰트 크기를 유지 */
    }

    .dropzone .dz-message:before {
        width: 50px;
        height: 50px;
        margin-bottom: 5px; /* 모바일에서도 간격 유지 */
    }
}

.dark-layout .dropzone {
    background-color: #2e3750;
}
