
/* =========================================================
   FREEVEXA — NEW TOOL EXTENSION
   Isolated styles for newly added tools only.
   ========================================================= */
.freevexa-new-tool-page{
  width:min(1100px,calc(100% - 40px));
  margin:0 auto;
  padding:125px 0 20px;
}
.new-tool-hero{
  text-align:center;
  max-width:780px;
  margin:0 auto 42px;
}
.new-tool-icon{
  width:72px;height:72px;margin:0 auto 22px;border-radius:22px;
  display:grid;place-items:center;font-size:28px;font-weight:800;
  color:#eafcff;background:linear-gradient(145deg,rgba(0,229,255,.13),rgba(139,92,246,.12));
  border:1px solid rgba(0,229,255,.2);
  box-shadow:0 0 48px rgba(0,229,255,.10);
}
.new-tool-hero h1{
  font-family:var(--font-display);
  font-size:clamp(40px,6vw,64px);
  line-height:1.02;letter-spacing:-3px;margin:0;
}
.new-tool-hero h1 span{color:#58e8ff;}
.new-tool-hero p{max-width:680px;margin:18px auto 0;color:var(--muted);line-height:1.75;font-size:15px;}
.new-tool-card{
  border:1px solid var(--border);border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  padding:22px;box-shadow:0 28px 90px rgba(0,0,0,.22);
}
.new-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.new-tool-field{display:flex;flex-direction:column;gap:8px;}
.new-tool-field.full{grid-column:1/-1;}
.new-tool-field label{font-size:11px;letter-spacing:.12em;color:#8f93a5;text-transform:uppercase;font-weight:800;}
.new-tool-field input,.new-tool-field select,.new-tool-field textarea{
  width:100%;box-sizing:border-box;padding:13px 14px;border-radius:12px;
  border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);
  color:var(--text);font:inherit;outline:none;
}
.new-tool-field textarea{min-height:120px;resize:vertical;}
.new-tool-field input:focus,.new-tool-field select:focus,.new-tool-field textarea:focus{border-color:rgba(0,229,255,.38);box-shadow:0 0 0 3px rgba(0,229,255,.06);}
.new-tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.new-tool-btn{
  border:0;border-radius:12px;padding:12px 17px;cursor:pointer;font:700 13px inherit;
  color:#071017;background:linear-gradient(135deg,#38efff,#5986ff);
}
.new-tool-btn.secondary{color:#dfeeff;background:rgba(255,255,255,.055);border:1px solid var(--border);}
.new-tool-btn.danger{color:#ffe7e7;background:rgba(255,90,90,.10);border:1px solid rgba(255,90,90,.25);}
.new-tool-result{
  margin-top:20px;padding:24px;border-radius:22px;border:1px solid rgba(255,255,255,.08);
  background:rgba(6,10,18,.65);display:none;
}
.new-tool-result.active{display:block;}
.new-tool-result h3{margin:0 0 8px;font-size:14px;color:#77efff;letter-spacing:.10em;text-transform:uppercase;}
.new-tool-value{font-family:var(--font-display);font-size:clamp(34px,6vw,58px);letter-spacing:-2px;word-break:break-word;}
.new-tool-meta{color:var(--muted);margin-top:8px;line-height:1.65;font-size:13px;}
.new-tool-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:13px;}
.new-tool-table th,.new-tool-table td{padding:11px 8px;border-bottom:1px solid rgba(255,255,255,.07);text-align:left;}
.new-tool-table th{color:#8f93a5;text-transform:uppercase;font-size:10px;letter-spacing:.1em;}
.new-tool-preview{margin-top:20px;overflow:auto;padding:22px;border-radius:18px;background:#0b1019;border:1px solid rgba(255,255,255,.07);}
.new-tool-canvas{display:block;max-width:100%;height:auto;margin:auto;background:#fff;border-radius:12px;}
.new-tool-center{text-align:center;}
.new-tool-large-btn{min-width:180px;font-size:15px;padding:15px 20px;}
.timer-display,.stopwatch-display{
  text-align:center;font-family:var(--font-display);font-size:clamp(50px,9vw,92px);
  letter-spacing:-4px;padding:24px 0;color:#f2fbff;
}
.coin-display{text-align:center;font-size:88px;line-height:1;padding:20px 0;min-height:100px;}
.coin-display.flip{animation:freevexaCoin .55s ease;}
@keyframes freevexaCoin{0%{transform:rotateY(0)}50%{transform:rotateY(900deg)}100%{transform:rotateY(1800deg)}}
.random-output{text-align:center;padding:28px;border-radius:18px;background:rgba(0,229,255,.045);border:1px solid rgba(0,229,255,.12);}
.random-output strong{display:block;font-family:var(--font-display);font-size:64px;letter-spacing:-3px;}
.typing-sample{padding:20px;border-radius:18px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);line-height:1.9;font-size:17px;margin-bottom:16px;}
.typing-input{min-height:150px;}
.typing-live{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.typing-stat{padding:10px 13px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid var(--border);font-size:12px;}
.speed-meter{text-align:center;padding:22px 0;}
.speed-meter .ring{
  width:180px;height:180px;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center;
  border:12px solid rgba(0,229,255,.10);border-top-color:#38efff;border-right-color:#5986ff;
  animation:freevexaSpin 1.1s linear infinite;animation-play-state:paused;
}
.speed-meter.running .ring{animation-play-state:running;}
.speed-number{font-family:var(--font-display);font-size:44px;}
@keyframes freevexaSpin{to{transform:rotate(360deg)}}
.invoice-shell{background:#fff;color:#111;border-radius:14px;padding:34px;min-width:680px;}
.invoice-head{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #111;padding-bottom:18px;}
.invoice-head h2{margin:0;font-size:30px;}
.invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:22px 0;}
.invoice-items{width:100%;border-collapse:collapse;}
.invoice-items th,.invoice-items td{border-bottom:1px solid #ddd;padding:10px;text-align:left;}
.invoice-total{margin-left:auto;max-width:320px;margin-top:18px;}
.invoice-total div{display:flex;justify-content:space-between;padding:5px 0;}
.invoice-total .grand{font-weight:800;font-size:20px;border-top:2px solid #111;margin-top:8px;padding-top:10px;}
.barcode-canvas{width:100%;max-width:900px;height:auto;background:#fff;border-radius:10px;}
.gif-frame-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px;}
.gif-frame{width:90px;height:70px;object-fit:cover;border-radius:10px;border:1px solid rgba(255,255,255,.08);}
.screen-video{width:100%;max-height:580px;border-radius:14px;background:#05070b;display:block;}
.new-tool-note{margin-top:14px;padding:13px 15px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);color:#8f93a5;font-size:12px;line-height:1.7;}
@media(max-width:760px){
  .freevexa-new-tool-page{width:min(100% - 20px,1100px);padding-top:104px;}
  .new-tool-grid{grid-template-columns:1fr;}
  .new-tool-field.full{grid-column:auto;}
  .invoice-shell{min-width:0;padding:20px;}
  .invoice-head,.invoice-grid{grid-template-columns:1fr;display:grid;}
}
.light-mode .new-tool-field input,.light-mode .new-tool-field select,.light-mode .new-tool-field textarea{background:#fff;color:#111;border-color:#d5d9e0;}
.light-mode .new-tool-card{background:linear-gradient(145deg,#fff,#f5f7fb);}
.light-mode .new-tool-result{background:#fff;border-color:#dfe4ec;}
