
   .upload_image_main_div {
       height: 135px;
       width: 135px;
       border-radius: 8px;
       font-family: Tahoma, sans-serif;
       background: var(--surface);
       position: relative;
   }
   .ufv-upload-icon {
       font-size: 28px;
       color: #4e73df;
   }
   .upload_image_main_div .image_file_input {
       height: 0;
       width: 0;
       z-index: 9999;
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       opacity: 0;
   }
   .upload_image_main_div.bg-image-div { cursor: pointer; }
   .upload_image_main_div .empty_image_div {
       height: 100%;
       width: 100%;
       display: flex;
       gap: 10px;
       align-items: center;
       justify-content: center;
       flex-direction: column;
       margin: 0 !important;
       border: 2px dashed #ccc;
       border-radius: 8px;
       cursor: pointer;
       background: var(--surface);
   }
   .upload_image_main_div .empty_image_div:hover {
       border-color: #4e73df;
       background-color: var(--paper);
   }
   .upload_image_main_div .empty_image_div span { font-size: 16px; color: #565656; }
   .upload_image_main_div .empty_image_none { display: none !important; }
   .upload_image_main_div .upload_preview_div {
       position: relative;
       width: 100%;
       height: 100%;
       border: 2px dashed #4e73df;
       border-radius: 8px;
       background-color: var(--paper);
       overflow: hidden;
   }
   .upload_image_main_div .upload_preview_div_none { display: none; }
   .upload_image_main_div .preview_image_div_box {
       width: 100%;
       height: 100%;
       position: relative;
   }
   .upload_image_main_div .preview_image_div_box_img {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       width: auto;
       max-width: 90%;
       max-height: 90%;
       object-fit: contain;
   }
   .ufv-file-preview {
       height: 100%;
       width: 100%;
       display: none;
       align-items: center;
       justify-content: center;
       flex-direction: column;
       gap: 8px;
       padding: 34px 12px 12px;
       text-align: center;
       color: #344054;
   }
   .ufv-file-preview i {
       font-size: 32px !important;
       color: #4e73df !important;
       background: transparent !important;
       padding: 0 !important;
       border-radius: 0 !important;
       box-shadow: none !important;
   }
   .ufv-file-preview span {
       max-width: 100%;
       font-size: 12px;
       font-weight: 700;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
   }
   .ufv-file-preview .fa-file-pdf-o {
       color: #dc2626 !important;
   }
   .ufv-file-preview .fa-file-word-o {
       color: #2563eb !important;
   }
   .preview_image_div_box i {
       background: #4e73df;
       padding: 8px;
       font-size: 15px;
       border-radius: 50%;
       cursor: pointer;
       box-shadow: 0 6px 16px rgba(16,24,40,.18);
   }
   .preview_image_div_box .view-image { background: #4e73df; }
   .preview_image_div_box .delete-image { background: #e74a3b; }
   .upload_img_control {
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 5px;
       color: var(--surface);
       font-size: 18px;
       position: absolute;
       top: 7px;
       right: 7px;
       z-index: 5;
       padding: 3px;
       border-radius: 999px;
       background: rgba(17,24,39,.16);
       backdrop-filter: blur(4px);
   }
   .image_preview,
   .ufv-crop-modal {
       position: fixed;
       inset: 0;
       height: 100vh;
       width: 100vw;
       background: rgba(0,0,0,.86);
       z-index: 2147483647;
       display: none;
   }
   .image_preview .ufv-preview-shell {
       height: 100vh;
       width: 100%;
       position: relative;
       margin: auto;
   }
   .image_preview img,
   .image_preview iframe {
       width: auto;
       max-width: 92vw;
       height: auto;
       max-height: 88vh;
       position: absolute;
       top: 50% !important;
       left: 50% !important;
       transform: translate(-50%, -50%) !important;
       z-index: 2147483647;
       background: var(--surface);
       border: 0;
       border-radius: 10px;
   }
   .image_preview iframe {
       width: min(980px, 92vw);
       height: 86vh;
   }
   .ufv-preview-note {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       width: min(420px, 86vw);
       background: var(--surface);
       border-radius: 12px;
       padding: 22px;
       text-align: center;
       color: #344054;
       display: none;
       z-index: 2147483647;
   }
   .ufv-preview-note i {
       display: block;
       font-size: 40px;
       color: #4e73df;
       margin-bottom: 12px;
   }
   .ufv-preview-note a {
       display: inline-block;
       margin-top: 12px;
       padding: 8px 16px;
       border-radius: 999px;
       background: #4e73df;
       color: var(--surface);
       text-decoration: none;
       font-weight: 700;
   }
   .image_preview p,
   .ufv-crop-close {
       position: fixed;
       top: 24px;
       right: 24px;
       display: flex;
       align-items: center;
       justify-content: center;
       height: 44px;
       width: 44px;
       background: var(--surface);
       border-radius: 50%;
       color: #000;
       font-size: 22px;
       cursor: pointer;
       z-index: 2147483647;
       border: 0;
   }
   .image_preview p:hover,
   .ufv-crop-close:hover { background: #e8524a; color: var(--surface); }
   .ufv-crop-dialog {
       width: min(625px, 94vw);
       max-height: 92vh;
       overflow: auto;
       background: var(--surface);
       border-radius: 14px;
       box-shadow: 0 20px 60px rgba(0,0,0,.28);
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       padding: 0;
   }
   .ufv-crop-title {
       display: flex;
       justify-content: space-between;
       align-items: center;
       gap: 12px;
       margin-bottom: 0;
       padding: 18px 24px;
       background: #2f4358;
       color: var(--surface);
   }
   .ufv-crop-title h4 {
       margin: 0;
       font-weight: 800;
       color: var(--surface);
       font-size: 18px;
   }
   .ufv-crop-title span {
       color: rgba(255,255,255,.76);
       font-size: 13px;
       font-weight: 600;
   }
   .ufv-crop-tools {
       display: flex;
       justify-content: space-between;
       align-items: center;
       gap: 12px;
       flex-wrap: wrap;
       margin: 0;
       padding: 12px 20px;
       background: var(--surface-soft);
       border-bottom: 1px solid #e5e7eb;
   }
   .ufv-tool-group {
       display: flex;
       gap: 8px;
       flex-wrap: wrap;
   }
   .ufv-tool-btn {
       border: 1px solid #d0d7e2;
       background: var(--surface);
       color: #344054;
       border-radius: 50%;
       width: 38px;
       height: 38px;
       padding: 0;
       font-weight: 800;
       font-size: 15px;
       cursor: pointer;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       gap: 6px;
   }
   .ufv-tool-btn:hover {
       border-color: var(--text-color, #4e73df);
       color: var(--text-color, #4e73df);
       background: #f5f9ff;
   }
   .ufv-crop-stage {
       position: relative;
       width: 100%;
       height: min(58vh, 500px);
       background: #171629;
       border-radius: 0;
       overflow: hidden;
       user-select: none;
       touch-action: none;
       border: 20px solid #171629;
   }
   .ufv-crop-stage img {
       position: absolute;
       top: 50%;
       left: 50%;
       max-width: none;
       transform: translate(-50%, -50%);
       cursor: default;
       user-select: none;
   }
   .ufv-crop-box {
       position: absolute;
       left: 50%;
       top: 50%;
       transform: translate(-50%, -50%);
       border: 2px solid #2196f3;
       box-shadow: 0 0 0 9999px rgba(0,0,0,.42);
       pointer-events: auto;
       cursor: move;
   }
   .ufv-crop-box::before {
       content: "";
       position: absolute;
       inset: 0;
       pointer-events: none;
       background:
           linear-gradient(90deg, transparent 33.333%, rgba(255,255,255,.45) 33.333%, rgba(255,255,255,.45) calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, rgba(255,255,255,.45) 66.666%, rgba(255,255,255,.45) calc(66.666% + 1px), transparent calc(66.666% + 1px)),
           linear-gradient(0deg, transparent 33.333%, rgba(255,255,255,.45) 33.333%, rgba(255,255,255,.45) calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, rgba(255,255,255,.45) 66.666%, rgba(255,255,255,.45) calc(66.666% + 1px), transparent calc(66.666% + 1px));
   }
   .ufv-crop-box::after {
       content: "";
       position: absolute;
       inset: -4px;
       pointer-events: none;
       background:
           linear-gradient(#2196f3,#2196f3) left top/7px 7px no-repeat,
           linear-gradient(#2196f3,#2196f3) right top/7px 7px no-repeat,
           linear-gradient(#2196f3,#2196f3) left bottom/7px 7px no-repeat,
           linear-gradient(#2196f3,#2196f3) right bottom/7px 7px no-repeat;
   }
   .ufv-crop-handle {
       position: absolute;
       width: 24px;
       height: 24px;
       background: transparent;
       border: 0;
       pointer-events: auto;
       z-index: 4;
   }
   .ufv-crop-handle::after {
       content: "";
       position: absolute;
       left: 50%;
       top: 50%;
       width: 8px;
       height: 8px;
       background: #2196f3;
       transform: translate(-50%, -50%);
   }
   .ufv-crop-handle.tl { top: -13px; left: -13px; cursor: nwse-resize; }
   .ufv-crop-handle.tr { top: -13px; right: -13px; cursor: nesw-resize; }
   .ufv-crop-handle.bl { bottom: -13px; left: -13px; cursor: nesw-resize; }
   .ufv-crop-handle.br { bottom: -13px; right: -13px; cursor: nwse-resize; }
   .ufv-crop-handle.n { top: -13px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
   .ufv-crop-handle.s { bottom: -13px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
   .ufv-crop-handle.e { right: -13px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
   .ufv-crop-handle.w { left: -13px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
   .ufv-crop-actions {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 12px;
       flex-wrap: wrap;
       margin-top: 0;
       padding: 16px 24px;
       background: var(--surface);
   }
   .ufv-crop-range {
       flex: 1 1 220px;
       display: flex;
       align-items: center;
       gap: 10px;
       color: #344054;
       font-weight: 700;
   }
   .ufv-crop-range input {
       width: 100%;
   }
   .ufv-crop-hint {
       color: #667085;
       font-size: 13px;
       font-weight: 600;
   }
   .ufv-crop-buttons {
       display: flex;
       gap: 10px;
   }
   .ufv-crop-buttons button {
       border: 0;
       padding: 9px 18px;
       border-radius: 999px;
       font-weight: 800;
       cursor: pointer;
   }
   .ufv-crop-apply {
       color: var(--surface);
       background: var(--text-color, #4e73df);
   }
   .ufv-crop-cancel {
       color: #344054;
       background: #eef2f7;
   }
   @media only screen and (max-width: 700px) {
       .image_preview img { width: 90%; }
       .ufv-crop-stage { height: 360px; }
   }
