
/* EasyTools Online Tools Premium — Image Tools v1.1.0 */
.etotp-image-pro{
  margin:16px 0;
  padding:16px;
  border:1px solid #d7e6ee;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0,rgba(22,184,212,.08),transparent 30%),
    linear-gradient(180deg,#fff,#f8fcfd);
  box-shadow:0 10px 28px rgba(16,42,67,.07);
}
.etotp-image-pro-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}
.etotp-image-pro-head strong{
  display:block;
  color:#102a43;
  font-size:15px;
  font-weight:900;
}
.etotp-image-pro-head span{
  display:block;
  color:#65798b;
  font-size:11px;
  margin-top:3px;
}
.etotp-image-pro-badge{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:#e5f8f4;
  color:#087b71;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
}
.etotp-preset-group{margin-top:11px}
.etotp-preset-group>label{
  display:block;
  margin-bottom:7px;
  color:#27435e;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.etotp-chip-row{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.etotp-chip{
  min-height:38px;
  padding:0 12px;
  border:1px solid #cfdee7;
  border-radius:10px;
  background:#fff;
  color:#173b5d;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.etotp-chip:hover,
.etotp-chip.is-active{
  border-color:#65bcc2;
  background:#ecfaf8;
  color:#087d72;
  transform:translateY(-1px);
}
.etotp-image-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.etotp-image-stat{
  padding:10px;
  border:1px solid #e0eaf0;
  border-radius:12px;
  background:#fff;
}
.etotp-image-stat small{
  display:block;
  color:#6d7f8f;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.etotp-image-stat b{
  display:block;
  margin-top:3px;
  color:#102a43;
  font-size:14px;
}
.etotp-progress{
  height:8px;
  margin-top:12px;
  border-radius:999px;
  overflow:hidden;
  background:#e7eff3;
}
.etotp-progress>span{
  display:block;
  width:0;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#0d9488,#16b8d4);
  transition:width .2s ease;
}
.etotp-image-note{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-top:11px;
  padding:10px 11px;
  border-radius:11px;
  background:#f2f8fb;
  color:#52697b;
  font-size:11px;
  line-height:1.45;
}
.etotp-image-note b{color:#173b5d}
.etotp-png-shortcuts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.etotp-png-shortcuts button{
  min-height:40px;
  padding:7px 9px;
  border:1px solid #cfdee7;
  border-radius:10px;
  background:#fff;
  color:#173b5d;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.etotp-png-shortcuts button:hover{
  border-color:#63b9bf;
  background:#eefaf8;
  color:#087d72;
}
.etotp-iframe-pro-panel{
  margin:0 0 14px;
  padding:14px;
  border:1px solid #d6e5ec;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f8fcfd);
  box-shadow:0 8px 20px rgba(16,42,67,.06);
}
.etotp-iframe-pro-panel h3{
  margin:0 0 3px!important;
  color:#102a43!important;
  font-size:15px!important;
}
.etotp-iframe-pro-panel p{
  margin:0 0 10px!important;
  color:#65798b!important;
  font-size:11px!important;
}
.etotp-iframe-pro-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.etotp-iframe-pro-row button{
  min-height:38px!important;
  padding:0 11px!important;
  border:1px solid #cfdee7!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#173b5d!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.etotp-iframe-pro-row button:hover{
  border-color:#63b9bf!important;
  background:#eefaf8!important;
  color:#087d72!important;
}
.etotp-iframe-progress{
  height:8px;
  margin-top:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e7eff3;
}
.etotp-iframe-progress span{
  display:block;
  width:0;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#0d9488,#16b8d4);
  transition:width .2s ease;
}
.etotp-iframe-summary{
  margin-top:9px;
  color:#52697b;
  font-size:11px;
  font-weight:700;
}
@media(max-width:760px){
  .etotp-image-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .etotp-image-pro{padding:13px;border-radius:15px}
  .etotp-image-pro-head{flex-direction:column}
  .etotp-chip{flex:1 1 calc(50% - 7px)}
  .etotp-png-shortcuts{grid-template-columns:1fr}
  .etotp-image-stats{grid-template-columns:1fr 1fr}
}


/* v1.1.1 — Balanced desktop workspace: controls 50% / preview-results 50% */
@media(min-width:981px){
  .etotp-premium-tools .etft-img-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:20px!important;
    align-items:start!important;
  }

  .etotp-premium-tools .etft-pngmaker-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:20px!important;
    align-items:start!important;
  }

  .etotp-premium-tools .etft-img-grid > .etft-img-panel:first-child,
  .etotp-premium-tools .etft-pngmaker-grid > .etft-png-controls{
    width:auto!important;
    max-width:none!important;
  }

  .etotp-premium-tools .etft-img-results-grid{
    grid-template-columns:1fr!important;
  }

  .etotp-premium-tools .etft-img-result{
    width:100%!important;
    max-width:none!important;
  }

  .etotp-premium-tools .etft-img-preview{
    min-height:320px!important;
  }

  .etotp-premium-tools .etft-img-preview img{
    max-height:520px!important;
  }

  .etotp-premium-tools .etft-img-upload{
    min-height:190px!important;
    padding:28px 22px!important;
  }

  .etotp-premium-tools .etotp-chip-row{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .etotp-premium-tools .etotp-chip{
    width:100%!important;
  }

  .etotp-premium-tools .etft-png-workspace{
    min-height:680px!important;
  }

  .etotp-premium-tools .etft-png-canvas-wrap{
    min-height:560px!important;
  }
}

/* Medium desktop/laptop: slightly favor the preview/result side. */
@media(min-width:981px) and (max-width:1180px){
  .etotp-premium-tools .etft-img-grid,
  .etotp-premium-tools .etft-pngmaker-grid{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  }
}
