:root{--primary:rgb(28,27,27);
--primary-dark:rgb(28,27,27);
--background:rgb(227,219,219);
--card-bg:white;--text:#334155;
--text-light:#3c3d3e;
--border:#e2e8f0;
--success:#10b981;
--warning:#f59e0b;
--danger:#ef4444;
--shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
--transition:all .3s ease;--border-radius:12px
}
#skip-to-content{
    height:1px;
    width:1px;
    position:absolute;
    overflow:hidden;
    top:-10px;
    &:focus{
        position:fixed;
        top:10px;
        left:10px;
        height:auto;width:auto;background:invert($body-link-color);
        outline:thick solid invert($body-link-color)}}
*{margin:0;padding:0;box-sizing:border-box}
body{
    font-family:Georgia,system-ui,-apple-system,sans-serif;
    background-color:var(--background);color:var(--text);line-height:1.6;
    transition:var(--transition)}hover-on:hover{color:rgb(239,96,8)}h1{font-weight:700;line-height:1.2;display:flex;justify-content:center}h2,h3{font-weight:700;line-height:1.2;display:flex;justify-content:flex-start}h1{font-size:2.5rem;margin-bottom:1rem}h2{font-size:1.25rem;margin-bottom:1.5rem}h3{font-size:1.2rem;margin-bottom:.75rem}p{margin-bottom:1rem;color:var(--text-light);font-size:1rem;font-family:Georgia,'Times New Roman',Times,serif}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 .5rem}section{padding:1rem;}header{background-color:white;position:sticky;top:0;z-index:100}.header-container{display:flex;justify-content:space-between;align-items:center}.logo{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:1rem;color:var(--primary);text-decoration:none}.logo i{font-size:1.8rem}.nav-controls{display:flex;align-items:center;gap:1rem}.theme-toggle{background:none;border:none;color:var(--text);cursor:pointer;font-size:1.25rem;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.theme-toggle:hover{background-color:rgba(0,0,0,.05)}.dark-mode .theme-toggle:hover{background-color:rgba(255,255,255,.05)}.hero{text-align:center;padding:5rem 0;background:linear-gradient(135deg,rgba(67,97,238,.1) 0%,rgba(16,185,129,.1) 100%)}.hero p{max-width:600px;margin:0 auto 2rem;font-size:1.1rem}.search-container{width:100%;margin:0 auto; display:flex; justify-content: center}.search-bar{width:70%;padding:.9rem 1.25rem;padding-left:3rem;border:2px solid var(--border);border-radius:50px;background-color:var(--card-bg);font-size:1rem;color:var(--text);transition:var(--transition)}.search-bar:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(67,97,238,.2)}.search-icon{position:absolute;left:1.25rem;top:50%;transform:translateY(-50%);color:var(--text-light);font-size:1.25rem}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}.tool-card{background-color:var(--card-bg);border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow);transition:var(--transition);cursor:pointer;position:relative;height:100%;display:flex;flex-direction:column}.tool-card:hover{transform:translateY(-5px);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05)}.dark-mode .tool-card:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.3),0 4px 6px -2px rgba(0,0,0,.2)}.tool-icon{height:120px;display:flex;align-items:center;justify-content:center;font-size:3rem;color:var(--primary);background:linear-gradient(135deg,rgba(67,97,238,.1) 0%,rgba(16,185,129,.1) 100%)}.tool-content{padding:1.5rem;flex-grow:1;display:flex;flex-direction:column}.tool-title{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.tool-title i{color:var(--primary)}.tool-description{margin-bottom:1rem;flex-grow:1}.tool-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto}.tag{background-color:rgba(67,97,238,.1);color:var(--primary);padding:.25rem .75rem;border-radius:50px;font-size:.75rem;font-weight:500}.tool-container{background-color:var(--card-bg);border-radius:var(--border-radius);padding:2rem;box-shadow:var(--shadow);margin-top:2rem}.tool-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.tool-header i{font-size:2rem;color:var(--primary)}.tool-controls{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.input-group{flex:1;min-width:250px}.input-group label{display:block;margin-bottom:.5rem;font-weight:500}input,select,textarea,button{padding:.75rem 1rem;border:2px solid var(--border);border-radius:8px;background-color:var(--card-bg);color:var(--text);font-size:1rem;transition:var(--transition);width:100%}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(67,97,238,.2)}button{background-color:var(--primary);color:white;font-weight:600;cursor:pointer;border:none;padding:.75rem 1.5rem;width:auto}button:hover{background-color:var(--primary-dark)}.btn-outline{background-color:transparent;border:2px solid var(--primary);color:var(--primary)}.btn-outline:hover{background-color:rgba(67,97,238,.1)}.action-buttons{display:flex;gap:1rem;margin-top:1rem}.result-container{margin-top:2rem;background-color:rgba(0,0,0,.03);border-radius:8px;padding:1.5rem;position:relative}.dark-mode .result-container{background-color:rgba(255,255,255,.03)}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.result-content{min-height:100px;overflow-wrap:break-word}footer{background-color:#000000;padding:3rem 0 2rem;margin-top:4rem;border-top:1px solid var(--border);color:white}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.footer-column h3{margin-bottom:1.25rem;position:relative;padding-bottom:.5rem}.footer-column h3::after{content:'';position:absolute;bottom:0;left:0;width:50px;height:3px;background-color:var(--primary);border-radius:2px}.footer-column p{color:white}.footer-links{list-style:none}.footer-links li{margin-bottom:.75rem}.footer-links a{color:var(--card-bg);text-decoration:none;transition:var(--transition);display:flex;align-items:center;gap:.5rem}.footer-links a:hover{color:rgb(255,132,0)}.footer-bottom{padding:1rem;border-top:1px solid var(--border);color:white;font-size:.9rem}.footer-bottom p{color:white;font-size:.9rem;align-content:end}@media (max-width:768px){h1{font-size:2rem}h2{font-size:1.5rem}.hero{padding:3rem 0}.tool-controls{flex-direction:column}.action-buttons{flex-wrap:wrap}}@media (max-width:480px){.header-container{flex-direction:column;gap:1rem}.nav-controls{width:10rem;justify-content:center}.tool-grid{grid-template-columns:1fr}}.cover-author-image{width:50px;height:50px;-webkit-border-radius:100%;border-radius:100%;overflow:hidden;background-color:#333030}.features{padding:2em 0;background:#fff}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2em}.feature-card{text-align:start;border:1px solid #eee;border-radius:8px;min-height:12rem}#json-tool-wrapper,.export-label,.tree-node,.upload-label{cursor:pointer}.compress-label,.export-label{transition:background .3s;user-select:none}.btn,.file-btn,.logo,.main-nav a,.mode-toggle label{font-weight:700}:root{--color-primary:orange;--color-dark:#333;--color-grey:rgb(58,57,57);--color-light:#fafafa;--font-sans:Georgia;--max-width:1200px}*{margin:0;padding:0}body{font-family:var(--font-sans);color:var(--color-dark);background:#fff;line-height:1.6}a{text-decoration:none;color:inherit}.btn{display:inline-block}.btn-primary{background:var(--color-primary);color:#fff;border:none}.btn-secondary{background:var(--color-dark);color:#fff;border:none}.btn-outline,.logo{color:var(--color-primary)}.btn-outline{background:0 0;border:2px solid var(--color-primary)}.site-header{border-bottom:1px solid #eee;position:sticky;top:0;z-index:100}.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:1em 0}.logo{font-size:1.5em}.main-nav a{margin:0 .75em;color:var(--color-grey)}.feature-card h3,.main-nav a:hover{color:var(--color-primary)}.hero{padding:4em 0}.hero h1{font-size:2.5em;margin-bottom:.5em}.hero p{font-size:1.1em;margin-bottom:1.5em}.hero-buttons .btn{margin:0 .5em}.features{padding:2em 0;background:#fff}.features .container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2em}.feature-card{text-align:start;padding:1.5em;border:1px solid #eee;border-radius:8px;min-height:12rem}#loader,#table-container,.site-footer,.upload-section,h1{text-align:center}.feature-card img{width:64px;height:64px;margin-bottom:1em}.feature-card h3{margin-bottom:.5em}.feature-card p{color:var(--color-grey)}.site-footer{flex-shrink:0;padding:15px 10px;background-color:orange;border-top:1px solid #ddd;color:#555}@media (max-width:768px){.hero h1{font-size:2em}.hero p{font-size:1em}}.upload-section{margin-top:30px}.upload-label{background-color:orange;color:#fff;padding:10px 20px;border-radius:5px;max-width:10rem;margin:1rem}#file-input,#imageUpload,#json-file,#mp4Upload,#pdfUpload,#xml-file,.tree-node-collapsed>ul{display:none}#loader{margin-top:20px;font-size:18px;color:#444}#excel-table{width:max-content;border-collapse:collapse;margin:20px auto;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;font-size:14px;min-width:100%}#excel-table td,#excel-table th{border:1px solid #ccc;padding:10px 16px;text-align:left;min-width:120px;white-space:nowrap}#excel-table th{background-color:#d9d9d9;color:#000}#excel-table tr:nth-child(2n){background-color:#f5f5f5}#table-container{overflow-x:auto}.export-label{color:#fff;padding:1px 8px;font-size:14px}.compress-label:hover,.export-label:hover{font-size:1rem}#json-tool-wrapper{display:flex;gap:20px;padding:20px;width:100%}ul{list-style:none;padding-left:20px}li{margin:5px 0}.tree-node-expanded::before{content:"[-] "}.tree-node-collapsed::before{content:"[+] "}.tree-node-value{color:green;font-weight:700}.tree-node-key{color:#00f}#xml-display-wrapper{display:none;margin-top:20px;padding:15px;border:1px solid #ccc;border-radius:8px;background-color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05);max-height:500px;overflow:auto}#xml-viewer{white-space:pre;padding:1em;margin-top:1em;max-height:400px;overflow:auto;display:flex;justify-content:start}.upload-container{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px}.file-info{font-family:Georgia;background-color:#f4f4f4;border-left:4px solid #4caf50;padding:10px;border-radius:4px;word-break:break-all;display:none;justify-content:center;
        width:80vw;height:5rem;margin-left:1rem}.compress-label{color:#000;font-size:18px;cursor:pointer;margin:5px}.btn,.tools-panel button{color:#fff;cursor:pointer}.image-redactor{padding:1rem;display:flex;justify-content:center}.redactor-container{width:100%;max-width:900px;display:flex;flex-direction:column;gap:1rem}.upload-panel{display:flex;flex-direction:column;gap:.5rem;justify-content:center;margin-top:1rem;align-items:center}#imageInput{padding:.5rem;font-size:1rem}#redactorCanvas{width:100%;border:1px solid #ccc;background-color:#f8f8f8;aspect-ratio:4/3}.tools-panel{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.tools-panel button{padding:.6rem 1rem;font-size:.95rem;border:none;border-radius:5px;background-color:#444;opacity:.6}@media (max-width:600px){.tools-panel{flex-direction:column;align-items:stretch}}.image-thumb{flex:0 0 auto;width:120px;height:90px;border:1px solid #aaa;border-radius:4px;overflow:hidden;background:#fff}.image-thumb img{width:100%;height:100%;object-fit:cover}.dragging{opacity:.5;border-color:#007bff}.btn{padding:.4rem 1rem;background-color:#007bff;border-radius:6px;margin-top:1rem}.uploadedImages{display:none;flex-direction:row;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:10px;gap:1px;border:1px solid #ccc;border-radius:6px;background:#f8f8f8;scroll-behavior:smooth;margin:2rem;min-width:100%}#uploadedImages img{max-height:130px;object-fit:cover;cursor:grab;user-select:none;transition:transform .2s}#uploadedImages img.dragging{opacity:.5;transform:scale(1.05)}.draggable-image{cursor:move;transition:opacity .2s}.draggable-image:hover{opacity:.8}.tool-container{background:#fff;padding:2rem;max-width:700px;min-width:100%;box-shadow:0 0 10px rgba(0,0,0,.1);border-radius:12px;display:flex;flex-direction:column;gap:1rem}.file-btn,a#downloadBtn,button{color:#fff;padding:.6rem 1.2rem;cursor:pointer}h1{font-size:1.6rem}textarea{width:100%;height:150px;padding:10px;font-size:1rem;resize:vertical;border:1px solid #ccc;border-radius:8px}.action-buttons,.file-controls,.mode-toggle{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.file-btn{background:#007bff;border-radius:8px}a#downloadBtn,button{background:#28a745;border:none;border-radius:8px;text-decoration:none;text-align:center}.file-btn:hover,a#downloadBtn:hover,button:hover{opacity:.9}#editorWrapper{height:75vh}.CodeMirror{height:100%;border:1px solid #ccc;border-radius:6px;font-size:15px}.stats-container{border:1px solid orange;border-radius:10px;max-width:99%;min-width:99%;padding:.1rem;box-sizing:border-box;margin-left:.3rem}.stats-header,.stats-values{display:flex;justify-content:start}.stat-heading{margin-top:5px;flex:1;display:flex;justify-content:center;align-items:center;font-size:.9em}.green-text{color:orange}.stat-value{flex:1;text-align:center;font-size:1em;font-weight:bold;margin-top:8px}.frequency-scroller{display:flex;overflow-x:auto;padding:1rem;gap:1.5rem;scroll-behavior:smooth;margin-top:-.5rem}.word-item{display:flex;flex-direction:column;align-items:center;padding:.8rem 1.2rem;background:#f1f3f5;border-radius:8px;min-width:80px;transition:transform .2s ease}.word-item:hover{transform:translateY(-3px);background:#e9ecef}.word-text{font-weight:600;color:#2b8a3e;margin-bottom:.3rem}.word-count{font-size:.9em;color:#868e96}.scroll-indicator{animation:bounce 1.5s infinite;font-size:1.5rem;opacity:.6}@keyframes bounce{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}.frequency-scroller::-webkit-scrollbar{height:6px}.frequency-scroller::-webkit-scrollbar-track{background:#f1f3f5}.frequency-scroller::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:3px}.analysis-container{background:#fff;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.1);margin:2rem 0;overflow:hidden}.analysis-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-bottom:1px solid #eee}.analysis-scroller{display:flex;overflow-x:auto;padding:1rem;gap:1.5rem;scroll-behavior:smooth}.issue-card{display:flex;flex-direction:column;padding:1rem;background:#fff;border-radius:8px;min-width:160px;border-left:4px solid #ff6b6b;box-shadow:0 2px 4px rgba(0,0,0,.05);transition:transform .2s ease;flex-shrink:0}.issue-card:hover{transform:translateY(-3px)}.issue-text{display:flex;gap:.5rem;margin-bottom:.8rem;align-items:center}.incorrect{color:#ff6b6b;font-weight:600}.correct{color:#2b8a3e;font-weight:600}.issue-location{font-size:.9em;color:#868e96;display:flex;align-items:center;gap:.5rem}.jump-btn{background:none;border:1px solid #ff6b6b;color:#ff6b6b;padding:4px 8px;border-radius:4px;cursor:pointer;transition:all .2s ease;font-size:.8em}.jump-btn:hover{background:#ff6b6b;color:white}.scroll-indicator{animation:bounce 1.5s infinite;font-size:1.5rem;opacity:.6}@keyframes bounce{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}.analysis-scroller::-webkit-scrollbar{height:6px}.analysis-scroller::-webkit-scrollbar-track{background:#f1f3f5}.analysis-scroller::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:3px}#about-me{max-width:1200px;margin:0 auto;padding:2rem;font-family:'Segoe UI',Roboto,sans-serif;line-height:1.6;color:#333}.profile-hero{display:flex;flex-wrap:wrap;align-items:center;gap:3rem;margin-bottom:3rem;padding-bottom:2rem;border-bottom:1px solid #eee}.profile-image img{border-radius:8px;object-fit:cover;box-shadow:0 5px 15px rgba(0,0,0,.1);border:1px solid #ddd}.profile-intro h1{font-size:2.5rem;margin-bottom:.5rem;color:#2c3e50}.tagline{font-size:1.25rem;color:#7f8c8d;margin-bottom:1.5rem;font-weight:500}.contact-info p{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center}.contact-info a{color:#3498db;text-decoration:none}.social-links{margin-top:1rem}.social-links a{margin-right:1rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:4px;color:#2c3e50;text-decoration:none;transition:all .3s ease}.social-links a:hover{background:#e9ecef}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin:1.5rem 0}.skill-category{background:#f8f9fa;padding:1.5rem;border-radius:8px}.skill-category h3{color:#2c3e50;margin-top:0;border-bottom:1px solid #ddd;padding-bottom:.5rem}.skill-category ul{padding-left:1.5rem}.key-projects .project{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px dashed #eee}.tech-used{color:#7f8c8d;font-style:italic;margin:.5rem 0}@media (max-width:768px){.profile-hero{flex-direction:column;text-align:center}.contact-info p{justify-content:center}.profile-intro h1{font-size:2rem}}@media (max-width:480px){#about-me{padding:1rem}.skills-grid{grid-template-columns:1fr}.contact-info p{flex-direction:column;gap:.5rem}}.blog-post{display:flex;gap:20px;margin-bottom:40px;border:2px solid #3b5585;padding-bottom:20px;align-items:flex-start}.post-image{flex:0 0 180px;height: 160px;background-size:cover;background-position:center;border-radius:10px;}.post-content{flex:1;}.post-title{font-size:1.5rem;margin:0 0 8px 0;line-height:1.3;color:#111;display:flex;justify-content:flex-start}.post-title:hover{text-decoration:underline;cursor:pointer}.post-meta{font-size:.8rem;color:#777;margin-bottom:12px}.post-description{font-size:1rem;line-height:1.6;color:#444}.page-image{min-width:100%;max-height:27rem;border:2px solid}.header-page{text-align:center;margin:10px 0;.page-title{font-weight:400;margin:0 0 10px;line-height:1.3}}.page-date{color:$dark-gray;font-weight:300;font-size:12px;text-transform:uppercase;display:flex;justify-content:center;min-width:100%}.profile-card{background:#ffffff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.1);max-width:360px;text-align:center;padding:2rem 1.5rem;transition:transform .3s ease}.profile-card:hover{transform:translateY(-5px)}.profile-image img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin-bottom:1rem;border:4px solid #eaeaea}.profile-content h2{font-size:1.5rem;margin-bottom:.3rem}.profile-content .title{font-size:.95rem;color:#777;margin-bottom:1rem}.profile-content .bio{font-size:.9rem;color:#444;margin-bottom:1rem}.skills{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem}.skills span{background-color:#eef1f5;padding:.4rem .8rem;border-radius:12px;font-size:.8rem;color:#333}.profile-button{display:inline-block;background-color:#4f46e5;color:white;text-decoration:none;padding:.6rem 1.2rem;border-radius:8px;transition:background-color .3s}.profile-button:hover{background-color:#3730a3}.profile-container{display:flex;gap:2rem;justify-content:flex-start;width:100%;min-width:100%;flex-direction:row}
/* ==== SmallSuggestions Tool Grid ==== */
.ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ==== Tool Card ==== */
.ss-tool-card {
  background: var(--ss-card-bg, #ffffff);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ss-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* ==== Header Section ==== */
.ss-card-header {
  background: linear-gradient(135deg, #263959 0%, #3b5585 100%);
  color: #fff;
  display: flex;
  text-align: center;
  padding: 1.2rem;
  justify-content: center;
}

.ss-card-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  justify-content: center;
}

/* ==== Body Section ==== */
.ss-card-body {
  background: var(--ss-card-body, #fff);
  color: #333;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.ss-card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #444;
}

/* ==== Tags ==== */
.ss-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ss-tag {
  background-color: #f0f2f5;
  border-radius: 50px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  color: #263959;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.ss-tag:hover {
  background-color: #263959;
  color: #fff;
}

/* ==== Dark Mode ==== */
.dark-mode .ss-tool-card {
  background: #1e2533;
  color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

.dark-mode .ss-card-header {
  background: linear-gradient(135deg, #32486d 0%, #263959 100%);
}

.dark-mode .ss-card-body {
  background: #242c3e;
}

.dark-mode .ss-tag {
  background-color: #2f3b52;
  color: #cdd5e0;
}

.dark-mode .ss-tag:hover {
  background-color: #4a628f;
  color: #fff;
}

.csvx-container{
      min-width:90%;
      max-width:1200px;
      margin:0 auto;
      color:#e6eef6;
      margin-top:1rem;
      overflow: hidden;
      max-height: 28rem;
    }
    .csvx-panel{
      background: #181a1c;
      border:1px solid rgba(255,255,255,0.03);
      border-radius:12px;
      padding:18px;
      box-shadow:0 6px 18px rgba(0,0,0,0.45);
      position:relative;
      overflow:auto;
      max-width:100%;
      max-height: 25rem;
    }
    .panel-header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom:8px;
    }
    .title{
      font-size:18px;
      font-weight:600;
      letter-spacing:0.2px;
    }
    .controls{
      display:flex;
      gap:8px;
      align-items:center;
    }
    .csvx-btn{
      background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
      border:1px solid rgba(255,255,255,0.04);
      color: #9aa3ad;
      padding:8px 12px;
      border-radius:8px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      cursor:pointer;
      font-size:14px;
      transition:all .14s ease;
      user-select:none;
    }
    .csvx-btn:hover{transform:translateY(-2px)}
    .csvx-btn.primary{
      background:linear-gradient(180deg, rgba(43,140,255,0.14), rgba(43,140,255,0.08));
      color:#e8f3ff;
      border-color:rgba(43,140,255,0.22);
    }
    .csvx-btn[disabled]{
      opacity:0.5;cursor:not-allowed;transform:none;
    }
    input[type=file]{display:none}

    /* CSV Preview */
    .csvx-preview{
      background: rgba(255,255,255,0.02);
      border-radius:8px;
      border:1px solid rgba(255,255,255,0.02);
      padding:10px;
      max-height: 19rem;
      min-height: 19rem;
      overflow:auto;
      scrollbar-width:thin;
      scrollbar-color: rgba(255,255,255,0.08) transparent;
    }
    table.sheet{
      width:100%;
      border-collapse:collapse;
      font-size:13px;
      table-layout:fixed;
      min-width:600px;
    }
    table.sheet th, table.sheet td{
      border:1px solid rgba(255,255,255,0.04);
      padding:6px 8px;
      text-overflow:ellipsis;
      overflow:hidden;
      white-space:nowrap;
    }
    table.sheet thead th{
      position:sticky;top:0;background:rgba(255,255,255,0.02);backdrop-filter:blur(2px);
      color:#eaf3ff;font-weight:600;font-size:13px;
    }
    table.sheet tbody tr:nth-child(even){background:rgba(255,255,255,0.01)}
    table.sheet tbody tr:hover{background:rgba(255,255,255,0.02)}

    /* Excel panel hidden initially */
    .csvx-excel-panel{margin-top:14px;display:none}
    .csvx-excel-panel.visible{display:block}
    .excel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}

    .small{font-size:12px;color: #9aa3ad;}

    /* Toast */
    .csvx-toast{
      position:absolute;
      left:50%;top:12px;transform:translateX(-50%);
      background:linear-gradient(180deg, rgba(39,174,96,0.12), rgba(39,174,96,0.06));
      border:1px solid rgba(39,174,96,0.18);
      color:#dff8e5;
      padding:10px 14px;border-radius:8px;
      display:flex;gap:8px;align-items:center;font-weight:600;
      box-shadow:0 6px 18px rgba(39,174,96,0.08);
      opacity:0;pointer-events:none;transition:opacity .25s ease;
    }
    .csvx-toast.show{opacity:1;pointer-events:auto}

    /* responsive */
    @media (max-width:900px){
      .csvx-container{width:95%}
      table.sheet{min-width:480px}
      .csvx-btn{padding:7px 10px}
    }
/* ====== JSON Converter Global Styles ====== */
.jsonx-container {
  width: 100%;
  color: #eee;
  font-family: system-ui, sans-serif;
  display: flex;
  justify-content: center;
  height: 28rem;
}

.jsonx-panel {
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #333;
  padding: 12px;
  margin-bottom: 20px;
  width: 90%;
}

/* Header + Controls */
.jsonx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.jsonx-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.jsonx-small {
  font-size: 13px;
  color: #aaa;
}

.jsonx-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.jsonx-btn {
  background: #2a2a2a;
  color: #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.jsonx-btn:hover {
  background: #3a3a3a;
}

.jsonx-btn.primary {
  background: #0078ff;
  border-color: #0078ff;
  color: #fff;
}

.jsonx-btn.primary:hover {
  background: #0a89ff;
}

/* Upload Label */
.jsonx-upload-label input[type="file"] {
  display: none;
}

/* Editor + Preview Panels */
.jsonx-pane-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jsonx-pane {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jsonx-editor,
.jsonx-preview,
.jsonx-output {
  flex: 1;
  background: #111;
  color: #eee;
  border: none;
  outline: none;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
  resize: none;
  border-radius: 8px;
  max-height: 21rem;
  min-height: 21rem;
  height: 21rem;
}

/* Preview area for JSON tree or formatted code */
.jsonx-editor,
.jsonx-preview {
  overflow: auto;
  background: #121212;
}

.jsonx-placeholder {
  color: #777;
  font-style: italic;
}

/* Toast Message */
.jsonx-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #00b894;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.jsonx-toast.show {
  opacity: 1;
}

/* Scrollbars for dark mode */
.jsonx-editor::-webkit-scrollbar,
.jsonx-preview::-webkit-scrollbar,
.jsonx-output::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  overflow: auto;
 
}

.jsonx-editor::-webkit-scrollbar-thumb,
.jsonx-preview::-webkit-scrollbar-thumb,
.jsonx-output::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.jsonx-editor::-webkit-scrollbar-thumb:hover,
.jsonx-preview::-webkit-scrollbar-thumb:hover,
.jsonx-output::-webkit-scrollbar-thumb:hover {
  background: #666;
}
