#regulation_model {

}
#regulation_model .modal-dialog {
    max-width: 90%;
}
.update_form_left_colum_top_offset {
    margin-top: 0.15rem;
}
.resume_upload_progress_bar {
    height: 1.8rem !important;
}
.resume_upload_progress_info {
    font-size:0.8rem; 
    position: absolute;
    top: 0.3rem; 
    text-shadow: -1px -1px 0 #000,  1px -1px 0 #000,-1px  1px 0 #000,1px  1px 0 #000; 
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
}
.resume_upload_progress_info_left {
    width: 47%; 
    left: 0.6rem; 
    text-align: left; 
}
.resume_upload_progress_info_mid {
    width: 25%; 
    left: 50%; 
    text-align: center;
}
.resume_upload_progress_info_right {
    width: 25%; 
    right: 0.6rem; 
    text-align: right; 
}
.resume_upload_remove_btn {
    height: 1.8rem;
}
.upload_image_container {
    padding-top: 50% !important;
    background-size:contain; background-position:center center; background-repeat:no-repeat;
}
.tier_unchangeable_tooltip:hover {
    background-color: #ebebeb;
}
.draggable-col { 
    touch-action: none;
    cursor: move;
}
/* 默认：可拖区域显示拖动光标 */
.draggable-card { cursor: move; }

/* 可点击元素：显示手型 */
.draggable-card [data-no-drag],
.draggable-card button,
.draggable-card a {
  cursor: pointer;
}

/* 预览图本身是“点击打开大图”的：也显示手型（你这里用的是 :onclick 打开） */
.draggable-card .upload_image_container { cursor: pointer; }
/* 正在被拖动的列（脱离文档流，固定定位，跟手移动） */
.dragging-card {
    position: fixed !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    transform: translate3d(0,0,0);
    transition: none !important; /* 拖动中不需要动画 */
    touch-action: none !important;
}
/* 占位符，撑住原位置尺寸 */
.drag-placeholder {
    border: 2px dashed rgba(0,0,0,0.2);
    border-radius: .5rem;
    background: rgba(0,0,0,0.03);
}
/* 手机/触摸设备：从卡片上开始的手势优先给拖拽，不触发页面滚动 */
@media (pointer: coarse) {
    .draggable-card {
      touch-action: none;
    }
  
    /* 卡片内的可点击元素：让点击更“像按钮”，减少 300ms 等问题 */
    .draggable-card [data-no-drag],
    .draggable-card button,
    .draggable-card a {
      touch-action: manipulation;
    }
}
/* 防止选中文字 */
.no-select { user-select: none; -webkit-user-select: none; -ms-user-select: none; }

/* 失败上传占位框（把原本内联 style 挪到这里） */
.failed-upload-body {
    background-image: none !important;
    position: relative;
}
.failed-upload-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0.75rem;
}
.failed-upload-ellipsis {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767.98px) {

    #regulation_model .modal-dialog {
        max-width: 100%;
    }
    .resume_upload_progress_info {
        font-size:0.6rem; 
        top: 0.5rem; 
    }
}
