
/* EasyTools Online Tools Premium v1.0.0 */
:root{
  --etotp-navy:#0d2f55;
  --etotp-navy-2:#123e6b;
  --etotp-teal:#0d9488;
  --etotp-cyan:#16b8d4;
  --etotp-text:#102a43;
  --etotp-muted:#61758a;
  --etotp-line:#dbe7ef;
  --etotp-soft:#f4f9fb;
  --etotp-shadow:0 14px 36px rgba(18,58,91,.10);
  --etotp-shadow-hover:0 20px 45px rgba(18,58,91,.16);
}

body.etotp-premium-tools{
  --wp--style--global--content-size:1200px;
}

/* ---------- Hub ---------- */
.etotp-premium-tools .etft-hub{
  max-width:1240px!important;
  margin-inline:auto!important;
}

.etotp-premium-tools .etft-hero{
  border-radius:26px!important;
  overflow:hidden!important;
  box-shadow:0 22px 55px rgba(13,47,85,.15)!important;
}

.etotp-premium-tools .etft-browser-section,
.etotp-premium-tools .etft-market-section,
.etotp-premium-tools .etft-services-section{
  border:1px solid rgba(198,216,228,.72)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(22,184,212,.07),transparent 26%),
    #fff!important;
  box-shadow:var(--etotp-shadow)!important;
  padding:28px!important;
  margin-top:26px!important;
}

.etotp-premium-tools .etft-section-head h2{
  letter-spacing:0!important;
  font-size:clamp(25px,3vw,34px)!important;
}

.etotp-premium-tools .etft-toolbar{
  position:sticky!important;
  top:var(--etotp-sticky-top,78px)!important;
  z-index:12!important;
  padding:12px!important;
  border:1px solid #d7e6ee!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(14px)!important;
  box-shadow:0 10px 28px rgba(16,42,67,.08)!important;
}

.etotp-premium-tools .etft-categories{
  gap:7px!important;
}

.etotp-premium-tools .etft-categories button,
.etotp-premium-tools .etotp-mode-button{
  min-height:40px!important;
  border-radius:999px!important;
  padding:0 15px!important;
  font-weight:800!important;
  transition:.2s ease!important;
}

.etotp-premium-tools .etft-search-wrap{
  min-height:44px!important;
  border-radius:13px!important;
}

.etotp-premium-tools .etft-search-wrap input{
  font-size:15px!important;
}

.etotp-premium-tools .etft-grid{
  gap:16px!important;
}

.etotp-premium-tools .etft-card{
  position:relative!important;
  border:1px solid #dce8ef!important;
  border-radius:20px!important;
  background:
    linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 8px 24px rgba(16,42,67,.06)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
  overflow:hidden!important;
}

.etotp-premium-tools .etft-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--etotp-cyan),var(--etotp-teal));
  opacity:.8;
}

.etotp-premium-tools .etft-card:hover{
  transform:translateY(-4px)!important;
  border-color:#b7d9e5!important;
  box-shadow:var(--etotp-shadow-hover)!important;
}

.etotp-premium-tools .etft-card .etft-icon{
  border-radius:16px!important;
  box-shadow:inset 0 0 0 1px rgba(31,107,163,.08)!important;
}

.etotp-premium-tools .etft-card h2{
  font-size:18px!important;
  letter-spacing:0!important;
}

.etotp-premium-tools .etft-card p{
  color:var(--etotp-muted)!important;
  line-height:1.55!important;
}

.etotp-premium-tools .etft-open{
  min-height:42px!important;
  border-radius:12px!important;
  font-weight:850!important;
}

.etotp-fav{
  position:absolute;
  top:12px;
  right:12px;
  z-index:4;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid #d8e5ec;
  border-radius:50%;
  background:#fff;
  color:#6f8192;
  font-size:19px;
  cursor:pointer;
  box-shadow:0 5px 15px rgba(16,42,67,.08);
}
.etotp-fav:hover,
.etotp-fav.is-favorite{
  color:#e09000;
  border-color:#f2cf7f;
  background:#fff9e9;
}
.etotp-fav:focus-visible{
  outline:3px solid rgba(22,184,212,.28);
  outline-offset:2px;
}

.etotp-hub-upgrade{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding:14px 16px;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,var(--etotp-navy),#0b6d85);
  box-shadow:0 11px 27px rgba(13,47,85,.15);
}
.etotp-hub-upgrade strong{display:block;font-size:15px}
.etotp-hub-upgrade span{display:block;font-size:12px;opacity:.84;margin-top:2px}
.etotp-hub-upgrade kbd{
  padding:5px 8px;border:1px solid rgba(255,255,255,.28);border-bottom-width:2px;
  border-radius:8px;background:rgba(255,255,255,.1);font:700 12px/1 system-ui;color:#fff
}

.etotp-result-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:28px;
  padding:0 9px;
  border-radius:999px;
  background:#e9f8f6;
  color:#0b776e;
  font-size:12px;
  font-weight:900;
}

.etotp-empty{
  display:none;
  grid-column:1/-1;
  padding:34px 20px;
  text-align:center;
  border:1px dashed #c9dbe5;
  border-radius:18px;
  background:#f8fbfd;
  color:#5d7184;
}
.etotp-empty.is-visible{display:block}

/* ---------- Premium toolbar for every tool page ---------- */
.etotp-toolbar{
  max-width:1200px;
  margin:12px auto 18px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #d9e6ee;
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(16,42,67,.08);
  backdrop-filter:blur(12px);
}
.etotp-toolbar-main{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.etotp-toolbar-badge{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:12px;
  background:linear-gradient(135deg,#e7f9f6,#e9f6ff);
  color:#0c8278;
  font-weight:900;
}
.etotp-toolbar-copy{min-width:0}
.etotp-toolbar-copy strong{
  display:block;
  color:var(--etotp-text);
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.etotp-toolbar-copy span{
  display:block;
  color:var(--etotp-muted);
  font-size:11px;
  margin-top:2px;
}
.etotp-toolbar-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  justify-content:flex-end;
}
.etotp-toolbar a,
.etotp-toolbar button{
  min-height:38px;
  padding:0 12px;
  border:1px solid #d6e5ed;
  border-radius:10px;
  background:#fff;
  color:#173b5d;
  font:800 12px/1 system-ui;
  text-decoration:none;
  cursor:pointer;
}
.etotp-toolbar a:hover,
.etotp-toolbar button:hover{
  border-color:#9fd3da;
  background:#eefaf8;
  color:#087d72;
}
.etotp-toolbar button.etotp-primary{
  border-color:#0d9488;
  background:#0d9488;
  color:#fff;
}

/* ---------- Upgrade all native EasyTools workspaces ---------- */
.etotp-premium-tools .etft-img-page,
.etotp-premium-tools .etft-biz-page,
.etotp-premium-tools .etft-currency-page,
.etotp-premium-tools .etft-icons-page{
  max-width:1200px!important;
  margin-inline:auto!important;
}

.etotp-premium-tools .etft-img-hero,
.etotp-premium-tools .etft-biz-hero,
.etotp-premium-tools .etft-currency-hero,
.etotp-premium-tools .etft-icons-hero{
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:0 18px 45px rgba(13,47,85,.13)!important;
}

.etotp-premium-tools .etft-img-shell,
.etotp-premium-tools .etft-biz-shell,
.etotp-premium-tools .etft-currency-shell,
.etotp-premium-tools .etft-icons-shell,
.etotp-premium-tools .etft-tool-frame{
  border-radius:22px!important;
  border:1px solid #d9e6ee!important;
  box-shadow:var(--etotp-shadow)!important;
  overflow:hidden!important;
}

.etotp-premium-tools .etft-img-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.etotp-premium-tools .etft-img-page textarea,
.etotp-premium-tools .etft-img-page select,
.etotp-premium-tools .etft-biz-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.etotp-premium-tools .etft-biz-page textarea,
.etotp-premium-tools .etft-biz-page select,
.etotp-premium-tools .etft-currency-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.etotp-premium-tools .etft-currency-page textarea,
.etotp-premium-tools .etft-currency-page select,
.etotp-premium-tools .etft-icons-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.etotp-premium-tools .etft-icons-page textarea,
.etotp-premium-tools .etft-icons-page select{
  border-radius:11px!important;
  border-color:#cadde7!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
.etotp-premium-tools .etft-img-page input:focus-visible,
.etotp-premium-tools .etft-img-page textarea:focus-visible,
.etotp-premium-tools .etft-img-page select:focus-visible,
.etotp-premium-tools .etft-biz-page input:focus-visible,
.etotp-premium-tools .etft-biz-page textarea:focus-visible,
.etotp-premium-tools .etft-biz-page select:focus-visible,
.etotp-premium-tools .etft-currency-page input:focus-visible,
.etotp-premium-tools .etft-currency-page textarea:focus-visible,
.etotp-premium-tools .etft-currency-page select:focus-visible,
.etotp-premium-tools .etft-icons-page input:focus-visible,
.etotp-premium-tools .etft-icons-page textarea:focus-visible,
.etotp-premium-tools .etft-icons-page select:focus-visible{
  border-color:#52b7bc!important;
  box-shadow:0 0 0 3px rgba(13,148,136,.12)!important;
  outline:2px solid transparent!important;
}
.etotp-premium-tools .etft-hub button,
.etotp-premium-tools .etft-hub .etft-btn,
.etotp-premium-tools .etft-img-page button,
.etotp-premium-tools .etft-img-page .etft-btn,
.etotp-premium-tools .etft-biz-page button,
.etotp-premium-tools .etft-biz-page .etft-btn,
.etotp-premium-tools .etft-currency-page button,
.etotp-premium-tools .etft-currency-page .etft-btn,
.etotp-premium-tools .etft-icons-page button,
.etotp-premium-tools .etft-icons-page .etft-btn,
.etotp-premium-tools .etotp-toolbar button{
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.etotp-premium-tools .etft-hub button:hover,
.etotp-premium-tools .etft-hub .etft-btn:hover,
.etotp-premium-tools .etft-img-page button:hover,
.etotp-premium-tools .etft-img-page .etft-btn:hover,
.etotp-premium-tools .etft-biz-page button:hover,
.etotp-premium-tools .etft-biz-page .etft-btn:hover,
.etotp-premium-tools .etft-currency-page button:hover,
.etotp-premium-tools .etft-currency-page .etft-btn:hover,
.etotp-premium-tools .etft-icons-page button:hover,
.etotp-premium-tools .etft-icons-page .etft-btn:hover,
.etotp-premium-tools .etotp-toolbar button:hover{
  transform:translateY(-1px);
}

.etotp-premium-tools .etft-seo{
  max-width:1100px!important;
  padding:24px!important;
  margin-top:28px!important;
  border:1px solid #dce8ef!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(16,42,67,.06)!important;
}
.etotp-premium-tools .etft-faq details{
  border-radius:12px!important;
  background:#fbfdff!important;
}

/* Generic result copy helper */
.etotp-copy-wrap{
  display:flex!important;
  gap:7px!important;
  align-items:stretch!important;
}
.etotp-inline-copy{
  flex:0 0 auto!important;
  min-width:66px!important;
  padding-inline:10px!important;
  border-radius:10px!important;
  border:1px solid #c8dfe7!important;
  background:#eff9f8!important;
  color:#087c72!important;
  font-size:11px!important;
  font-weight:850!important;
  cursor:pointer!important;
}

/* Fullscreen: native Fullscreen API with a tested fixed-position fallback */
body.etotp-fullscreen-active{overflow:hidden!important}
.etft-tool-frame:fullscreen,
.etft-tool-frame.etotp-fullscreen-fallback{
  position:fixed!important;
  inset:0!important;
  z-index:999999!important;
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  border-radius:0!important;
  background:#fff!important;
}
.etft-tool-frame:fullscreen iframe,
.etft-tool-frame.etotp-fullscreen-fallback iframe{
  width:100%!important;
  height:100vh!important;
  min-height:100vh!important;
}
.etotp-fullscreen-exit{
  position:absolute!important;
  top:max(12px,env(safe-area-inset-top))!important;
  right:max(12px,env(safe-area-inset-right))!important;
  z-index:1000001!important;
  min-width:128px!important;
  min-height:44px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:12px!important;
  background:#102a43!important;
  color:#fff!important;
  font-weight:850!important;
  box-shadow:0 8px 24px rgba(16,42,67,.28)!important;
  cursor:pointer!important;
}
.etotp-fullscreen-exit[hidden]{display:none!important}

/* Toast */
.etotp-toast{
  position:fixed;
  right:20px;
  bottom:92px;
  z-index:1000000;
  padding:10px 14px;
  border-radius:11px;
  background:#102a43;
  color:#fff;
  font:800 12px/1.2 system-ui;
  box-shadow:0 10px 28px rgba(16,42,67,.25);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:.2s ease;
}
.etotp-toast.is-visible{opacity:1;transform:none}

@media(max-width:800px){
  .etotp-premium-tools .etft-browser-section,
  .etotp-premium-tools .etft-market-section,
  .etotp-premium-tools .etft-services-section{
    padding:18px!important;
    border-radius:19px!important;
  }
  .etotp-premium-tools .etft-toolbar{
    top:var(--etotp-sticky-top,66px)!important;
    padding:10px!important;
  }
  .etotp-hub-upgrade{align-items:flex-start}
  .etotp-hub-upgrade kbd{display:none}
  .etotp-toolbar{
    margin:8px 10px 14px;
    align-items:flex-start;
    flex-direction:column;
  }
  .etotp-toolbar-actions{width:100%;justify-content:stretch}
  .etotp-toolbar-actions a,
  .etotp-toolbar-actions button{flex:1 1 auto}
}

@media(max-width:560px){
  .etotp-premium-tools .etft-card{border-radius:16px!important}
  .etotp-premium-tools .etft-categories{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    padding-bottom:3px!important;
  }
  .etotp-premium-tools .etft-categories button{white-space:nowrap!important}
  .etotp-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}
}


/* WCAG-oriented keyboard focus and touch target improvements */
.etotp-premium-tools .etft-hub a:focus-visible,
.etotp-premium-tools .etft-hub button:focus-visible,
.etotp-premium-tools .etotp-toolbar a:focus-visible,
.etotp-premium-tools .etotp-toolbar button:focus-visible,
.etotp-premium-tools .etft-img-page button:focus-visible,
.etotp-premium-tools .etft-biz-page button:focus-visible,
.etotp-premium-tools .etft-currency-page button:focus-visible,
.etotp-premium-tools .etft-icons-page button:focus-visible{
  outline:3px solid rgba(13,148,136,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:700px){
  .etotp-premium-tools .etft-hub a,
  .etotp-premium-tools .etft-hub button,
  .etotp-premium-tools .etotp-toolbar a,
  .etotp-premium-tools .etotp-toolbar button{
    min-height:44px!important;
  }
}
