@media screen and (max-width:768px){.left-ad-container{display:none}}
.image-upload-preview .upload-box{text-align:center;cursor:pointer;z-index:1;pointer-events:auto;background-color:#f9f9f9;border:2px dashed #ccc;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:180px;padding:20px;transition:all .3s;display:flex;position:relative}.image-upload-preview .upload-box:hover{background-color:#f0f8ff;border-color:#009cff;transform:translateY(-2px);box-shadow:0 4px 10px #009cff1a}.image-upload-preview .upload-box.dragover{background-color:#e6f4ff;border-color:#009cff;box-shadow:0 4px 12px #009cff33}.image-upload-preview .upload-box strong{color:#333;pointer-events:none;margin-bottom:8px;font-size:1.2rem}.image-upload-preview .upload-box div{color:#666;pointer-events:none;margin-bottom:12px}.image-upload-preview .upload-box input[type=file]{display:none}.image-upload-preview .preview-container{background-color:#f5f5f5;border-radius:8px;justify-content:center;align-items:center;height:180px;min-height:180px;max-height:180px;padding:10px;display:flex;overflow:hidden}.image-upload-preview .preview-container.dragover{background-color:#e6f4ff;border:2px dashed #009cff;box-shadow:0 4px 12px #009cff33}.image-upload-preview .images-grid{grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(4,1fr);gap:4px;width:100%;height:156px;max-height:156px;padding:0;display:grid;overflow:hidden}.image-upload-preview .image-thumbnail-wrapper{aspect-ratio:1;border-radius:4px;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 3px #0000001a}.image-upload-preview .image-thumbnail{object-fit:cover;cursor:pointer;width:100%;height:calc(100% - 14px);transition:transform .2s}.image-upload-preview .image-thumbnail-wrapper .thumbnail-name{text-align:center;white-space:nowrap;text-overflow:ellipsis;background-color:#f5f5f5;height:14px;padding:1px 2px;font-size:.6rem;line-height:12px;display:block;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.image-upload-preview .image-thumbnail:hover{transform:scale(1.05)}.image-upload-preview .delete-thumbnail{display:none!important}.image-upload-preview .image-thumbnail-wrapper:hover .delete-thumbnail{color:#fff;cursor:pointer;z-index:5;background-color:#f33;border:none;border-radius:50%;justify-content:center;align-items:center;width:14px;height:14px;padding:0;font-size:10px;line-height:1;position:absolute;top:1px;right:1px;display:flex!important}.image-upload-preview .preview-sidebar .preview-thumbnail .delete-thumbnail{display:none!important}.image-upload-preview .preview-sidebar .preview-thumbnail:hover .delete-thumbnail{color:#fff;cursor:pointer;z-index:5;background-color:#f33;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:14px;line-height:1;position:absolute;top:5px;right:5px;display:flex!important}body.modal-open{padding-right:17px;position:relative;overflow:hidden}html.modal-open,body.modal-open{width:100%;height:100%;position:fixed}.image-upload-preview .thumbnail-placeholder{background-color:#0000;background-image:linear-gradient(45deg,#f5f5f5 25%,#0000 25%),linear-gradient(-45deg,#f5f5f5 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#f5f5f5 75%),linear-gradient(-45deg,#0000 75%,#f5f5f5 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-repeat:repeat,repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;border:2px solid #e0e0e0;border-radius:8px;animation:1.5s ease-in-out infinite alternate placeholderPulse}@keyframes placeholderPulse{0%{opacity:.6}to{opacity:.8}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.image-upload-preview .more-images{color:#009cff;cursor:pointer;background-color:#009cff1a;border:1px dashed #009cff;border-radius:6px;grid-column:span 2;justify-content:center;align-items:center;padding:10px;font-weight:500;transition:all .2s;display:flex}.image-upload-preview .more-images:hover{background-color:#009cff33;transform:translateY(-2px)}.image-upload-preview .more-images-button{aspect-ratio:1;cursor:pointer;color:#009cff;background:linear-gradient(135deg,#009cff1a 0%,#009cff33 100%);border:1px dashed #009cff;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;transition:all .3s;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 3px #0000001a}.image-upload-preview .more-images-button:hover{background:linear-gradient(135deg,#009cff33 0%,#009cff4d 100%);transform:translateY(-2px);box-shadow:0 4px 12px #009cff33}.image-upload-preview .more-images-text{margin-bottom:2px;font-size:.9rem;font-weight:600}.image-upload-preview .more-images-label{opacity:.8;font-size:.7rem;font-weight:500}.image-upload-preview .preview-modal{z-index:9999;background-color:#000c;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}body.modal-open{touch-action:none;width:100%;margin:0;position:fixed;height:100%!important;overflow:hidden!important}.image-upload-preview .preview-modal-content{background:#fff;border-bottom:4px solid #009cff;border-radius:8px;grid-template:"header header""sidebar main"1fr/320px 1fr;width:100%;max-width:1400px;height:96vh;display:grid;position:relative;overflow:hidden}.image-upload-preview .preview-header{background:#f8f9fa;border-bottom:1px solid #eee;grid-area:header;justify-content:space-between;align-items:center;padding:16px;display:flex}.image-upload-preview .header-controls{justify-content:flex-start;gap:10px;display:flex}.image-upload-preview .header-title{text-align:center;color:#333;white-space:nowrap;text-overflow:ellipsis;margin:0;padding:0 10px;font-size:1.1rem;overflow:hidden}.image-upload-preview .close-preview{cursor:pointer;color:#666;background:0 0;border:none;justify-self:flex-end;font-size:24px}.image-upload-preview .preview-sidebar{background:#f8f9fa;border-right:1px solid #eee;flex-direction:column;grid-area:sidebar;display:flex;overflow:hidden auto}.image-upload-preview .preview-search-container{background:#f8f9fa;border-bottom:1px solid #e9ecef;padding:7px 16px;position:relative}.image-upload-preview .preview-search-input{background-color:#fff;border:1px solid #e9ecef;border-radius:8px;outline:none;width:100%;padding:10px 12px 10px 40px;font-size:14px;transition:all .3s}.image-upload-preview .preview-search-input:focus{background-color:#fff;border-color:#009cff}.image-upload-preview .preview-search-input::placeholder{color:#6c757d;font-weight:400}.image-upload-preview .preview-search-container:before{content:"";color:#009cff;pointer-events:none;z-index:1;font-family:"Font Awesome 5 Free",FontAwesome;font-size:16px;font-weight:900;position:absolute;top:50%;left:28px;transform:translateY(-50%)}.image-upload-preview .search-clear-button{cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:20px;transform:translateY(-50%)}.image-upload-preview .search-clear-button:hover{background:#0000001a;border-radius:10px}.image-upload-preview .search-clear-button svg{stroke-width:2.5px;width:12px;height:12px}.image-upload-preview .preview-sidebar .thumbnails-grid{flex:1;grid-template-columns:repeat(2,1fr);grid-auto-rows:max-content;align-content:start;gap:8px;padding:8px;display:grid;overflow-y:auto}.image-upload-preview .preview-sidebar .preview-thumbnail{cursor:pointer;background-color:#fff;border:2px solid #0000;border-radius:5px;flex-direction:column;width:140px;height:150px;margin:0 auto;transition:all .2s;display:flex;position:relative;overflow:hidden}.image-upload-preview .preview-sidebar .preview-thumbnail img{object-fit:cover;width:100%;height:120px}.image-upload-preview .preview-sidebar .preview-thumbnail .thumbnail-name{position:relative;bottom:auto;left:auto;right:auto;color:#333!important;text-align:center!important;white-space:nowrap!important;text-overflow:ellipsis!important;background:#f5f5f5!important;justify-content:center!important;align-items:center!important;height:30px!important;padding:4px 6px!important;font-size:11px!important;line-height:1.2!important;display:flex!important;overflow:hidden!important}.image-upload-preview .preview-sidebar .preview-thumbnail.active{border-color:#009cff;box-shadow:0 2px 8px #009cff33}.image-upload-preview .preview-body{flex-direction:column;grid-area:main;height:100%;display:flex;overflow:hidden}.image-upload-preview .preview-image-container{background-color:#f5f5f5;height:calc(100% - 70px);max-height:calc(100% - 70px);margin:0;padding:0;display:block;position:relative;overflow-y:scroll}.image-upload-preview .preview-actions-bar{background-color:#f8f9fa;border-top:1px solid #eee;justify-content:space-between;align-items:center;height:70px;padding:0 20px;display:flex}.image-upload-preview .preview-nav-button{color:#333;cursor:pointer;background-color:#f0f0f0;border:none;border-radius:4px;padding:8px 16px;font-weight:500}.image-upload-preview .preview-nav-button:disabled{opacity:.5;cursor:not-allowed}.image-upload-preview .preview-info{text-align:center;flex-direction:column;gap:5px;display:flex}.image-upload-preview .image-index{font-size:.95rem;font-weight:600}.image-upload-preview .image-info-item.image-name{display:none!important}.image-upload-preview .image-info{justify-content:center;gap:15px;display:flex}.image-upload-preview .image-info-item{align-items:center;gap:5px;display:flex}.image-upload-preview .info-label{color:#555;font-weight:600}.image-upload-preview .full-preview-image{max-width:90%;height:auto;margin:20px auto;display:block}.image-upload-preview .delete-image-btn{color:#fff;cursor:pointer;background-color:#ff4d4f;border:none;border-radius:4px;padding:8px 16px}@media (max-width:768px){.preview-modal:not(.mobile-preview-modal){display:none!important}.image-upload-preview .mobile-preview-modal{z-index:9999;box-sizing:border-box;background-color:#000000e6;width:100vw;height:100dvh;min-height:100dvh;position:fixed;top:0;left:0;overflow:hidden;display:flex!important}.image-upload-preview .mobile-preview-modal .preview-modal-content{box-sizing:border-box;background:#fff;flex-direction:column;width:100vw;height:100dvh;min-height:100dvh;padding:0;display:flex;overflow-y:auto}.image-upload-preview .mobile-preview-modal .preview-header{background:#f8f9fa;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;min-height:48px;padding:10px;display:flex}.image-upload-preview .mobile-preview-modal .header-controls{order:1;gap:8px;display:flex}.image-upload-preview .mobile-preview-modal .image-upload-preview .add-more-btn,.image-upload-preview .mobile-preview-modal .clear-all-btn{border:none;border-radius:4px;padding:6px 10px;font-size:12px}.image-upload-preview .mobile-preview-modal .add-more-btn{white-space:nowrap}.image-upload-preview .mobile-preview-modal .close-preview{order:2;margin-left:12px}.image-upload-preview .mobile-preview-modal .header-title{display:none}.image-upload-preview .mobile-preview-modal .preview-image-container{background:#f5f5f5;flex:1;justify-content:center;align-items:center;min-height:50vh;max-height:60vh;padding:10px;display:flex;overflow:hidden}.image-upload-preview .mobile-preview-modal .full-preview-image{object-fit:contain;max-width:100%;max-height:100%}.image-upload-preview .mobile-preview-modal .preview-sidebar{-webkit-overflow-scrolling:touch;background:#f8f9fa;border-top:1px solid #eee;border-bottom:1px solid #eee;flex-direction:row;flex-shrink:0;gap:8px;margin-bottom:10px;padding:6px 0 10px 10px;display:flex;overflow:auto hidden}.image-upload-preview .mobile-preview-modal .preview-search-container{background:#f8f9fa;border-bottom:1px solid #e9ecef;margin:0;padding:8px 12px}.image-upload-preview .mobile-preview-modal .preview-search-input{background-color:#fff;border:2px solid #e9ecef;border-radius:18px;width:100%;padding:8px 10px 8px 35px;font-size:13px}.image-upload-preview .mobile-preview-modal .preview-search-container:before{content:"";font-family:"Font Awesome 5 Free",FontAwesome;font-size:14px;font-weight:900;left:22px}.image-upload-preview .mobile-preview-modal .search-clear-button{width:20px;height:20px;right:16px}.image-upload-preview .mobile-preview-modal .search-clear-button svg{width:10px;height:10px}.image-upload-preview .mobile-preview-modal .preview-thumbnail{background:#fff;border:1px solid #0000;border-radius:4px;flex-direction:column;flex-shrink:0;align-items:center;width:88px;min-width:70px;height:70px;display:flex;position:relative;overflow:hidden}.image-upload-preview .mobile-preview-modal .preview-thumbnail.active{border-color:#009cff;box-shadow:0 0 0 1px #009cff}.image-upload-preview .mobile-preview-modal .preview-thumbnail img{object-fit:cover;width:100%;height:calc(100% - 16px)}.image-upload-preview .mobile-preview-modal .delete-image-btn{display:none!important}.image-upload-preview .mobile-preview-modal .preview-actions-bar{background-color:#fff;border-top:1px solid #eee;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.image-upload-preview .mobile-preview-modal .preview-nav-button,.image-upload-preview .mobile-preview-modal .delete-image-btn{border-radius:4px;min-width:70px;padding:8px 12px;font-size:.85rem}.image-upload-preview .mobile-preview-modal .delete-image-btn{color:#fff;cursor:pointer;background-color:#ff4d4f;border:none}.image-upload-preview .mobile-preview-modal .preview-nav-button{color:#333;cursor:pointer;background-color:#f0f0f0;border:none;font-weight:500}.image-upload-preview .mobile-preview-modal .preview-info{flex-direction:column;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.image-upload-preview .mobile-preview-modal .image-index{color:#333;font-size:.9rem;font-weight:600}.image-upload-preview .mobile-preview-modal .image-info{text-align:center;flex-direction:column;gap:4px;display:flex}.image-upload-preview .mobile-preview-modal .image-info-item{color:#666;white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;overflow:hidden}.image-upload-preview .mobile-preview-modal .image-info-item.image-name{flex-direction:row;align-items:center;gap:4px;max-width:200px;display:flex!important}.image-upload-preview .mobile-preview-modal .image-info-item.image-name .info-label{white-space:nowrap;flex-shrink:0;font-size:.75rem}.image-upload-preview .mobile-preview-modal .image-info-item.image-name span:last-child{color:#333;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.8rem;font-weight:500;overflow:hidden}.image-upload-preview .mobile-preview-modal ::-webkit-scrollbar{background:0 0!important;width:0!important;height:0!important}.image-upload-preview .mobile-preview-modal{scrollbar-width:none}body.modal-open{width:100%;height:100%;position:fixed;overflow:hidden!important}.image-upload-preview .image-thumbnail-wrapper .delete-thumbnail{opacity:1;background-color:#f00c}}.image-upload-preview .add-more-btn,.image-upload-preview .clear-all-btn{cursor:pointer;background-color:#f0f0f0;border:none;border-radius:4px;margin:0 5px;padding:5px 12px;font-size:.85rem;transition:all .2s}.image-upload-preview .add-more-btn{color:#0081d5;background-color:#e6f7ff}.image-upload-preview .clear-all-btn{color:#f5222d;background-color:#fff1f0}.image-upload-preview .add-more-btn:hover{background-color:#bae7ff}.image-upload-preview .clear-all-btn:hover{background-color:#ffccc7}.image-upload-preview .summary{color:#000;text-align:center;background:#f3f6f9;border-radius:4px;justify-content:center;align-items:center;min-height:50px;margin:5px;padding:10px;font-size:1rem;display:flex;box-shadow:0 2px 4px #0000000d}.image-upload-preview .format-summary{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-height:50px;margin:5px;font-size:1rem;display:flex}.image-upload-preview .format-badge{color:#0081d5;white-space:nowrap;background-color:#e6f7ff;border-radius:12px;align-items:center;margin:0 3px 3px 0;padding:3px 8px;font-size:.8rem;font-weight:400;display:inline-flex}.image-upload-preview .format-badge .count-number{color:#fff;background-color:#009cff;border-radius:5px;padding:0 6px;font-weight:400;display:inline-block}.image-upload-preview .format-badge .dimension-text{color:#009cff;background-color:#e6f4ff;padding:3px 8px;display:inline-block}@media (max-width:768px){.image-upload-preview .preview-container{height:180px;padding:8px}.image-upload-preview .images-grid{grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(2,1fr);gap:4px;height:164px;max-height:164px;padding:0}.image-upload-preview .more-images{grid-column:span 1}.image-upload-preview .more-images-text{margin-bottom:1px;font-size:.8rem}.image-upload-preview .more-images-label{font-size:.65rem}.image-upload-preview .image-thumbnail-wrapper .thumbnail-name{height:12px;font-size:.55rem;line-height:10px}.image-upload-preview .image-thumbnail{height:calc(100% - 12px)}.image-upload-preview .preview-image-container{padding:12px}}@media (max-width:415px){.image-upload-preview .overlapping-img{width:100px;height:100px}}@media (max-width:295px){.image-upload-preview .overlapping-img{width:80px;height:80px}}@media (max-width:526px){.image-upload-preview .d-flex.justify-content-center.mt-2{align-items:center;gap:10px;flex-direction:column!important}.image-upload-preview .add-more-btn,.image-upload-preview .clear-all-btn{width:100%;max-width:200px;margin:0!important}.image-upload-preview .preview-sidebar .preview-thumbnail .thumbnail-name{color:#333!important;text-align:center!important;white-space:nowrap!important;text-overflow:ellipsis!important;background:#f5f5f5!important;justify-content:center!important;align-items:center!important;height:30px!important;padding:4px 6px!important;font-size:11px!important;line-height:1.2!important;display:flex!important;overflow:hidden!important}}.image-upload-preview .conversion-options{background:#f8f9fa;border-radius:8px;margin-top:20px;padding:20px}.image-upload-preview .conversion-options h4{color:#333;margin:0 0 15px;font-size:1.1rem;font-weight:600}.image-upload-preview .quality-message{margin-bottom:15px}.image-upload-preview .quality-message p{margin:0}.image-upload-preview .text-muted{color:#6c757d;font-size:.875rem}
.notification-container{z-index:10000;pointer-events:none;flex-direction:column;gap:10px;max-width:400px;display:flex;position:fixed;top:20px;right:20px}.notification{pointer-events:auto;background:#fff;border-left:4px solid #009cff;border-radius:8px;max-width:350px;padding:16px 20px;animation:.3s ease-out notification-slideIn;position:relative;overflow:hidden;box-shadow:0 4px 12px #00000026}.notification:after{content:"";background:#009cff;height:3px;animation:5s linear forwards notification-progress;position:absolute;bottom:0;left:0}.notification.error{border-left-color:#ff4d4f}.notification.error:after{background:#ff4d4f}.notification.success{border-left-color:#52c41a}.notification.success:after{background:#52c41a}.notification.warning{border-left-color:#faad14}.notification.warning:after{background:#faad14}.notification.info{border-left-color:#f97316}.notification.info:after{background:#f97316}.notification{justify-content:space-between;align-items:flex-start;display:flex}.notification-content{flex:1;margin-right:10px}.notification-message{margin:0;font-size:14px;line-height:1.4}.notification-close{cursor:pointer;color:#999;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-self:flex-start;align-items:center;width:20px;height:20px;margin-top:-2px;padding:0;font-size:18px;transition:all .2s;display:flex}.notification-close:hover{color:#666;background:#f5f5f5}@keyframes notification-slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes notification-progress{0%{width:100%}to{width:0%}}@media (max-width:768px){.notification-container{width:auto;max-width:calc(100vw - 20px);top:9px;left:auto;right:-2px}.notification{align-items:center;min-width:250px;max-width:280px;margin-left:auto;padding:8px 12px}.notification-content{margin-right:5px}.notification-message{font-size:12px;line-height:1.3}.notification-close{margin-top:0}}@media (max-width:576px){.notification{min-width:280px;margin:0 10px}}
