.elementor-4095 .elementor-element.elementor-element-6445150{--display:flex;overflow:visible;}.elementor-4095 .elementor-element.elementor-element-43bd72b{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );overflow:visible;}.elementor-4095 .elementor-element.elementor-element-cc6e018{width:var( --container-widget-width, 90% );max-width:90%;--container-widget-width:90%;--container-widget-flex-grow:0;font-size:18px;}.elementor-4095 .elementor-element.elementor-element-cc6e018 > .elementor-widget-container{margin:0px 0px 0px 0px;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-4095 .elementor-element.elementor-element-43bd72b{--content-width:80vw;}.elementor-4095 .elementor-element.elementor-element-cc6e018{--container-widget-width:95vw;--container-widget-flex-grow:0;width:var( --container-widget-width, 95vw );max-width:95vw;}}/* Start custom CSS for html, class: .elementor-element-6dec617 *//* Scope: PNG to JPG tool */
.tsc-png2jpg { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: #111827; background: #f9f9f9; padding: 24px 0; }
.tsc-png2jpg * { box-sizing: border-box; }

.tsc-png2jpg .tsc-container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.tsc-png2jpg .tsc-header { text-align: center; margin-bottom: 16px; }
.tsc-png2jpg .tsc-title { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #111827; }
.tsc-png2jpg .tsc-subtitle { margin: 8px 0 0; color: #6b7280; font-size: 14px; }

.tsc-png2jpg .tsc-card { background: #ffffff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 20px; margin: 16px 0; }
.tsc-png2jpg .tsc-upload { position: relative; }
.tsc-png2jpg .tsc-dropzone { border: 2px dashed #c7b7f3; background: linear-gradient(0deg, rgba(99,0,226,0.03), rgba(99,0,226,0.03)), #fff; border-radius: 12px; padding: 28px; transition: border-color .2s ease, background-color .2s ease; cursor: pointer; }
.tsc-png2jpg .tsc-dropzone.tsc-dragover { border-color: #8E43F0; background-color: #faf5ff; }
.tsc-png2jpg .tsc-dropzone-inner { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.tsc-png2jpg .tsc-drop-icon { color: #8E43F0; opacity: 0.9; }
.tsc-png2jpg .tsc-drop-text { margin: 4px 0 0; font-size: 15px; text-align: center; }
.tsc-png2jpg .tsc-drop-or { margin: 0; color: #6b7280; font-size: 12px; }

.tsc-png2jpg .tsc-panel { background: #ffffff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 16px; margin: 16px 0; }
.tsc-png2jpg .tsc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tsc-png2jpg .tsc-panel-head { flex-wrap: nowrap; }
.tsc-png2jpg .tsc-panel-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsc-png2jpg .tsc-panel-title { margin: 0; font-size: 18px; font-weight: 700; color: #111827; }
.tsc-png2jpg .tsc-panel-hint { color: #6b7280; font-size: 12px; }
.tsc-png2jpg .tsc-actions-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 16px; }
.tsc-png2jpg .tsc-actions-left { display: flex; align-items: center; gap: 10px; }
.tsc-png2jpg .tsc-actions-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.tsc-png2jpg .tsc-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .tsc-png2jpg .tsc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tsc-png2jpg .tsc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tsc-png2jpg .tsc-previews { display: flex; flex-direction: column; gap: 12px; max-height: 528px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tsc-png2jpg .tsc-results { max-height: 528px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tsc-png2jpg #selectedPanel .tsc-panel-head { position: sticky; top: 0; z-index: 3; background: #ffffff; }
.tsc-png2jpg #resultsPanel .tsc-panel-head { position: sticky; top: 0; z-index: 3; background: #ffffff; }
.tsc-png2jpg .tsc-panel-note { position: sticky; top: 48px; z-index: 2; background: #ffffff; }

.tsc-png2jpg .tsc-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 10px; border: 1px solid #f1e9ff; border-radius: 12px; background: #fcfbff; align-items: center; position: relative; }
.tsc-png2jpg .tsc-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #f3f4f6; box-shadow: inset 0 0 0 1px #eee; }
.tsc-png2jpg .tsc-filemeta { display: none; }
.tsc-png2jpg .tsc-filename { font-size: 14px; font-weight: 600; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsc-png2jpg .tsc-filesize { font-size: 12px; color: #6b7280; }
.tsc-png2jpg .tsc-item-actions { display: flex; align-items: center; gap: 8px; justify-content: center; }
.tsc-png2jpg .tsc-item .tsc-convert-one { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.tsc-png2jpg .tsc-item .tsc-convert-one svg { width: 14px; height: 14px; }
.tsc-png2jpg .tsc-remove { border: 2px solid #fecaca; background: #fee2e2; color: #b91c1c; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1; padding: 6px; border-radius: 8px; }
.tsc-png2jpg .tsc-item .tsc-remove { position: static; justify-self: end; align-self: center; z-index: 1; }
.tsc-png2jpg .tsc-remove:hover { background: #fecaca; }

.tsc-png2jpg .tsc-result { display: flex; flex-direction: column; gap: 10px; padding: 10px; border: 1px solid #f1e9ff; border-radius: 12px; background: #ffffff; }
.tsc-png2jpg .tsc-result-img { width: 100%; border-radius: 10px; background: #f3f4f6; object-fit: cover; height: 180px; }
.tsc-png2jpg .tsc-result .tsc-result-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.tsc-png2jpg .tsc-result .tsc-result-actions a { text-decoration: none; white-space: nowrap; }
.tsc-png2jpg .tsc-result .tsc-result-actions .tsc-btn { white-space: nowrap; }
.tsc-png2jpg .tsc-result .tsc-result-actions > * { flex: 0 0 auto; }
/* Header actions: allow wrapping and no clipping so Clear is fully visible */
.tsc-png2jpg #resultsPanel .tsc-panel-head .tsc-result-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; overflow: visible; white-space: nowrap; }
.

@media (max-width: 420px) {
  .tsc-png2jpg .tsc-btn,
  .tsc-png2jpg .tsc-btn-lg,
  .tsc-png2jpg .tsc-btn-secondary,
  .tsc-png2jpg .tsc-btn-danger {
    padding: 10px 12px;
  }
  .tsc-png2jpg #resultsPanel .tsc-panel-head .tsc-result-actions { gap: 6px; }
}

.tsc-png2jpg .tsc-btn { appearance: none; border: none; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, opacity .15s ease; text-transform: none !important; letter-spacing: normal !important; line-height: 1.2; }
.tsc-png2jpg .tsc-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.tsc-png2jpg .tsc-btn-sm { padding: 8px 12px; border-radius: 8px; font-size: 12px; }
.tsc-png2jpg .tsc-btn-primary { background: #6300E2; color: #ffffff; box-shadow: 0 6px 16px rgba(99,0,226,0.25); }
.tsc-png2jpg .tsc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(99,0,226,0.35); }
.tsc-png2jpg .tsc-btn-secondary { background: #8E43F0; color: #ffffff; box-shadow: 0 6px 16px rgba(142,67,240,0.25); }
.tsc-png2jpg .tsc-btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(142,67,240,0.35); }
.tsc-png2jpg .tsc-btn-ghost { background: #f3f4f6; color: #111827; }
.tsc-png2jpg .tsc-btn-ghost:hover { background: #e5e7eb; }
.tsc-png2jpg .tsc-btn-danger { background: linear-gradient(135deg, #991B1B 0%, #DC2626 100%); color: #ffffff; box-shadow: 0 6px 16px rgba(185,27,27,0.3); }
.tsc-png2jpg .tsc-btn-danger:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(220,38,38,0.35); }
.tsc-png2jpg .tsc-btn-gradient { color: #fff; background: linear-gradient(135deg, #6300E2 0%, #8E43F0 100%); box-shadow: 0 8px 20px rgba(99,0,226,0.35); }
.tsc-png2jpg .tsc-btn-gradient:hover { transform: scale(1.015); box-shadow: 0 14px 34px rgba(99,0,226,0.45); }
.tsc-png2jpg .tsc-btn-lg { padding: 14px 22px; border-radius: 12px; font-size: 16px; }

.tsc-png2jpg .tsc-progress { display: flex; align-items: center; gap: 10px; min-width: 260px; }
.tsc-png2jpg .tsc-progress-bar { flex: 1; height: 10px; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
.tsc-png2jpg .tsc-progress-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #6300E2, #8E43F0); border-radius: 999px; transition: width .2s ease; }
.tsc-png2jpg .tsc-progress-text { font-size: 12px; color: #6b7280; min-width: 70px; text-align: right; }

.tsc-png2jpg .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.tsc-png2jpg .tsc-collapsible { overflow: hidden; max-height: 0; opacity: 0; transform: translateY(-6px); transition: max-height .35s ease, opacity .25s ease, transform .25s ease; }
.tsc-png2jpg .tsc-collapsible.is-open { max-height: 1200px; opacity: 1; transform: translateY(0); }
.tsc-png2jpg .tsc-modal-overlay { position: fixed; inset: 0; background: rgba(17,24,39,0.55); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.tsc-png2jpg .tsc-modal-overlay.is-visible { display: flex; }
.tsc-png2jpg .tsc-modal { width: 100%; max-width: 420px; background: #ffffff; border-radius: 14px; box-shadow: 0 20px 50px rgba(17,24,39,0.35); overflow: hidden; }
.tsc-png2jpg .tsc-modal-header { padding: 16px 18px; background: linear-gradient(135deg, #6300E2 0%, #8E43F0 100%); color: #ffffff; }
.tsc-png2jpg .tsc-modal-title { margin: 0; font-size: 16px; font-weight: 800; }
.tsc-png2jpg .tsc-modal-body { padding: 18px; color: #374151; }
.tsc-png2jpg .tsc-modal-message { margin: 0; font-size: 14px; }
.tsc-png2jpg .tsc-modal-actions { display: flex; gap: 10px; padding: 16px 18px 20px; justify-content: flex-end; }

.tsc-png2jpg .tsc-loading-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.85); display: none; place-items: center; border-radius: 12px; }
.tsc-png2jpg .tsc-loading-overlay.is-visible { display: grid; }
.tsc-png2jpg .tsc-loading-inner { display: flex; align-items: center; gap: 10px; color: #6300E2; font-weight: 700; }
.tsc-png2jpg .tsc-spinner { width: 22px; height: 22px; border: 3px solid #e5e7eb; border-top-color: #6300E2; border-radius: 999px; animation: tsc-spin 1s linear infinite; }
@keyframes tsc-spin { to { transform: rotate(360deg); } }

.tsc-png2jpg .tsc-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 10000; pointer-events: none; }
.tsc-png2jpg .tsc-toast { background: #ffffff; border: 1px solid #f1e9ff; border-left: 4px solid #6300E2; color: #111827; padding: 10px 12px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); min-width: 240px; max-width: 90vw; text-align: center; font-weight: 600; opacity: 0; transform: translateY(6px); animation: tsc-toast-in .25s ease forwards; }
.tsc-png2jpg .tsc-toast.tsc-toast-success { border-left-color: #10B981; }
.tsc-png2jpg .tsc-toast.tsc-toast-error { border-left-color: #EF4444; }
@keyframes tsc-toast-in { to { opacity: 1; transform: translateY(0); } }
@keyframes tsc-toast-out { to { opacity: 0; transform: translateY(6px); } }/* End custom CSS */