/* AIToolBunch – Our Tools Public Page */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{font-family:'Calibri',Candara,Optima,-apple-system,sans-serif;font-size:15px;color:#1A1916;background:#F5F4F2;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}

/* NAV */
.ot-nav{background:#fff;border-bottom:1px solid #E8E5E0;height:56px;display:flex;align-items:center;padding:0 32px;gap:14px;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.ot-logo{font-size:19px;font-weight:700;color:#1A1916}
.ot-logo span{color:#FF6B35}
.ot-nav-badge{font-size:11px;font-weight:700;background:#FFF3EF;color:#E8561F;border:1px solid #FFD9C9;padding:3px 10px;border-radius:50px}

/* HERO */
.ot-hero{background:#fff;border-bottom:1px solid #E8E5E0;padding:44px 32px 36px;text-align:center}
.ot-hero-inner{max-width:540px;margin:0 auto}
.ot-eyebrow{display:inline-block;background:#FFF3EF;color:#E8561F;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:4px 14px;border-radius:50px;margin-bottom:16px;border:1px solid #FFD9C9}
.ot-hero h1{font-size:36px;font-weight:700;letter-spacing:-.5px;line-height:1.15;color:#1A1916;margin-bottom:10px}
.ot-hero h1 em{font-style:normal;color:#FF6B35}
.ot-hero p{font-size:15px;color:#5A554F;margin-bottom:22px}
.ot-search-wrap{max-width:400px;margin:0 auto;position:relative}
.ot-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:18px;color:#ABA7A0;pointer-events:none}
.ot-search-wrap input{width:100%;height:44px;padding:0 16px 0 44px;border:1.5px solid #D1CDC6;border-radius:50px;font-size:14px;color:#1A1916;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.ot-search-wrap input::placeholder{color:#ABA7A0}
.ot-search-wrap input:focus{border-color:#FF6B35;box-shadow:0 0 0 3px rgba(255,107,53,.1)}

/* WRAP */
.ot-page-wrap{max-width:1200px;margin:0 auto;padding:28px 32px 80px}

/* FILTER TABS */
.ot-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.ot-filter-tab{background:#fff;border:1.5px solid #E8E5E0;color:#5A554F;font-size:13px;font-weight:500;padding:7px 16px;border-radius:50px;cursor:pointer;transition:all .15s;display:inline-flex;align-items:center;gap:6px}
.ot-filter-tab:hover{border-color:#ABA7A0;color:#1A1916}
.ot-filter-tab.on{background:#FF6B35;border-color:#FF6B35;color:#fff;font-weight:600}
.ot-tab-count{font-size:10px;font-weight:700;padding:1px 6px;border-radius:50px;background:rgba(255,255,255,.25);min-width:20px;text-align:center}
.ot-filter-tab:not(.on) .ot-tab-count{background:#F5F4F2;color:#ABA7A0}

/* LOADING */
.ot-loading{text-align:center;padding:60px 20px;color:#ABA7A0}
.ot-spinner{width:32px;height:32px;border:3px solid #E8E5E0;border-top-color:#FF6B35;border-radius:50%;animation:otspin .7s linear infinite;margin:0 auto 14px}
@keyframes otspin{to{transform:rotate(360deg)}}

/* PUBLIC GRID */
.ot-pub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}

/* PUBLIC CARD */
.ot-pub-card{background:#fff;border:1.5px solid #E8E5E0;border-radius:16px;padding:22px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;position:relative;overflow:hidden}
.ot-pub-card:hover{border-color:#FF6B35;transform:translateY(-3px);box-shadow:0 12px 32px rgba(255,107,53,.12)}
.ot-pub-accent{position:absolute;top:0;left:0;right:0;height:4px;border-radius:16px 16px 0 0}
.ot-pub-badge{position:absolute;top:14px;right:14px;font-size:9px;font-weight:700;padding:3px 9px;border-radius:50px;text-transform:uppercase;letter-spacing:.3px}
.ot-pub-badge-new{background:#F0FDF4;color:#16A34A;border:1px solid #86efac}
.ot-pub-badge-popular{background:#FFF3EF;color:#E8561F;border:1px solid #FFD9C9}
.ot-pub-badge-beta{background:#FFFBEB;color:#D97706;border:1px solid #fde68a}
.ot-pub-badge-updated{background:#EFF6FF;color:#2563EB;border:1px solid #bfdbfe}
.ot-pub-badge-free{background:#F0FDF4;color:#16A34A;border:1px solid #86efac}
.ot-pub-top{display:flex;align-items:flex-start;gap:13px;margin-bottom:12px;margin-top:8px}
.ot-pub-icon{width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;line-height:1}
.ot-pub-info{flex:1;min-width:0}
.ot-pub-name{font-size:16px;font-weight:700;color:#1A1916;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ot-pub-cat{font-size:11px;color:#ABA7A0}
.ot-pub-tagline{font-size:13px;color:#5A554F;line-height:1.55;margin-bottom:14px;flex:1}
.ot-pub-version{font-size:10px;font-weight:700;background:#F5F4F2;border:1px solid #E8E5E0;color:#ABA7A0;padding:2px 8px;border-radius:50px;display:inline-block;margin-bottom:14px}
.ot-pub-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #F1EFEC;padding-top:12px;margin-top:auto;flex-wrap:wrap}
.ot-pub-open{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#FF6B35;color:#fff;border:none;font-size:13px;font-weight:600;padding:9px 16px;border-radius:9px;cursor:pointer;transition:background .15s}
.ot-pub-open:hover{background:#E8561F}
.ot-pub-download{display:inline-flex;align-items:center;gap:5px;background:#F5F4F2;border:1px solid #E8E5E0;color:#5A554F;font-size:12px;font-weight:500;padding:8px 13px;border-radius:9px;cursor:pointer;transition:all .15s;text-decoration:none}
.ot-pub-download:hover{border-color:#FF6B35;color:#FF6B35}
.ot-pub-empty{text-align:center;padding:80px 20px;color:#ABA7A0}

/* ADMIN STYLES */
.ot-adm{max-width:1100px;font-family:'Calibri',Candara,-apple-system,sans-serif}
.ot-hdr{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:10px;padding-bottom:14px;border-bottom:1px solid #E8E5E0}
.ot-hdr h1{font-size:22px;font-weight:700;color:#1A1916;margin-bottom:3px}
.ot-hdr p{font-size:13px;color:#5A554F}
.ot-hdr-meta{display:flex;align-items:center;gap:10px}
.ot-count-pill{background:#FFF3EF;color:#E8561F;border:1px solid #FFD9C9;font-size:12px;font-weight:600;padding:4px 12px;border-radius:50px}
.ot-btn-primary{background:#FF6B35;color:#fff;border:none;font-size:13px;font-weight:600;padding:9px 20px;border-radius:8px;cursor:pointer;display:inline-block;text-decoration:none;transition:background .15s}
.ot-btn-primary:hover{background:#E8561F}
.ot-btn-secondary{background:#fff;border:1px solid #D1CDC6;color:#5A554F;font-size:13px;padding:8px 16px;border-radius:8px;cursor:pointer;display:inline-block;text-decoration:none;transition:all .15s}
.ot-btn-secondary:hover{border-color:#FF6B35;color:#FF6B35}
.ot-card{background:#fff;border:1px solid #E8E5E0;border-radius:12px;overflow:hidden;margin-bottom:16px}
.ot-card-hdr{background:#F9F8F7;border-bottom:1px solid #E8E5E0;padding:12px 18px;font-size:13px;font-weight:700;color:#1A1916;display:flex;align-items:center;justify-content:space-between}
.ot-card-body{padding:20px}
.ot-back-link{font-size:12px;color:#5A554F;text-decoration:none}.ot-back-link:hover{color:#FF6B35}

/* Upload zone */
.ot-upload-zone{border:2px dashed #D1CDC6;border-radius:14px;padding:32px 24px;text-align:center;transition:all .2s;background:#F9F8F7;margin-bottom:22px}
.ot-upload-zone.drag-over{border-color:#FF6B35;background:#FFF3EF}
.ot-upload-icon{font-size:40px;margin-bottom:12px}
.ot-upload-title{font-size:15px;font-weight:600;color:#1A1916;margin-bottom:4px}
.ot-upload-sub{font-size:12px;color:#9A958F;margin-bottom:14px}
.ot-progress-bar{height:6px;background:#E8E5E0;border-radius:3px;overflow:hidden;margin:10px 0 6px;max-width:300px;margin-left:auto;margin-right:auto}
.ot-progress-fill{height:100%;background:#FF6B35;border-radius:3px;transition:width .2s;width:0}
.ot-upload-progress{margin-top:10px;font-size:12px;color:#5A554F}
.ot-upload-done{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;background:#F0FDF4;border:1px solid #86efac;border-radius:9px;padding:10px 14px;font-size:13px;color:#16A34A}
.ot-clear-btn{background:none;border:none;color:#DC2626;font-size:16px;cursor:pointer;padding:0 4px}

/* Tool form */
.ot-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.ot-fi{display:flex;flex-direction:column;gap:4px}
.ot-fi.ot-full{grid-column:1/-1}
.ot-fi label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#9A958F}
.ot-req{color:#FF6B35}
.ot-fi input,.ot-fi textarea,.ot-fi select{background:#F9F8F7;border:1px solid #E8E5E0;color:#1A1916;font-size:13px;padding:9px 11px;border-radius:8px;width:100%;outline:none;transition:border-color .2s;font-family:inherit}
.ot-fi input:focus,.ot-fi textarea:focus,.ot-fi select:focus{border-color:#FF6B35;box-shadow:0 0 0 3px rgba(255,107,53,.08);background:#fff}
.ot-fi textarea{resize:vertical;min-height:80px}
.ot-form-actions{display:flex;gap:9px;margin-top:4px;flex-wrap:wrap}
.ot-ok{background:#F0FDF4;border:1px solid #86efac;color:#16A34A;padding:10px 14px;border-radius:8px;font-size:13px;margin-top:10px}
.ot-err{background:#FEF2F2;border:1px solid #fecaca;color:#DC2626;padding:10px 14px;border-radius:8px;font-size:13px;margin-top:10px}

/* Tools grid (admin) */
.ot-tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:20px}
.ot-tool-card{background:#fff;border:1.5px solid #E8E5E0;border-radius:14px;padding:18px;position:relative;overflow:hidden;transition:border-color .15s}
.ot-tool-card.hidden{opacity:.6}
.ot-tool-card:hover{border-color:#D1CDC6}
.ot-card-accent{position:absolute;top:0;left:0;right:0;height:3px;border-radius:14px 14px 0 0}
.ot-badge{position:absolute;top:12px;right:12px;font-size:9px;font-weight:700;padding:2px 8px;border-radius:50px;text-transform:uppercase}
.ot-badge-new,.ot-badge-free{background:#F0FDF4;color:#16A34A;border:1px solid #86efac}
.ot-badge-popular,.ot-badge-beta{background:#FFF3EF;color:#E8561F;border:1px solid #FFD9C9}
.ot-badge-updated{background:#EFF6FF;color:#2563EB;border:1px solid #bfdbfe}
.ot-tool-top{display:flex;align-items:center;gap:11px;margin-bottom:10px;margin-top:6px}
.ot-tool-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.ot-tool-name{font-size:15px;font-weight:700;color:#1A1916;margin-bottom:2px}
.ot-tool-cat{font-size:11px;color:#ABA7A0}
.ot-tool-tagline{font-size:12px;color:#5A554F;line-height:1.5;margin-bottom:10px}
.ot-tool-info-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.ot-version-pill{background:#F5F4F2;border:1px solid #E8E5E0;color:#ABA7A0;font-size:10px;font-weight:700;padding:2px 8px;border-radius:50px}
.ot-file-pill{background:#EFF6FF;border:1px solid #bfdbfe;color:#2563EB;font-size:10px;padding:2px 8px;border-radius:50px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ot-tool-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid #F1EFEC;padding-top:10px}
.ot-toggle-btn{font-size:11px;font-weight:700;padding:5px 11px;border-radius:50px;border:none;cursor:pointer}
.ot-toggle-btn.live{background:#F0FDF4;color:#16A34A;border:1px solid #86efac}
.ot-toggle-btn.hidden-btn{background:#F5F4F2;color:#9A958F;border:1px solid #E8E5E0}
.ot-download-btn,.ot-open-btn{font-size:11px;font-weight:600;padding:5px 10px;border-radius:6px;text-decoration:none;background:#F5F4F2;color:#5A554F;border:1px solid #E8E5E0;transition:all .15s}
.ot-download-btn:hover,.ot-open-btn:hover{border-color:#FF6B35;color:#FF6B35}
.ot-del-btn{margin-left:auto;background:#FEF2F2;border:1px solid #fecaca;color:#DC2626;font-size:11px;padding:5px 9px;border-radius:6px;cursor:pointer}
.ot-del-btn:hover{background:#fee2e2}
.ot-sc-box{background:#1A1916;border-radius:8px;padding:12px 16px}
.ot-sc-box code{color:#FF6B35;font-family:monospace;font-size:14px;background:none}
.ot-empty{text-align:center;padding:60px 20px;color:#9A958F}
.ot-empty-icon{font-size:44px;margin-bottom:12px}
.ot-empty h3{font-size:16px;font-weight:600;color:#5A554F;margin-bottom:6px}

/* Blog archive styles (inside shortcode) */
#atb-blog-root{max-width:1100px;margin:0 auto;padding:24px 20px 60px}
.atb-blog-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.atb-blog-cat-btn{background:#fff;border:1.5px solid #E8E5E0;color:#5A554F;font-size:12px;font-weight:500;padding:6px 15px;border-radius:50px;text-decoration:none;transition:all .15s}
.atb-blog-cat-btn:hover,.atb-blog-cat-all{border-color:#FF6B35;color:#FF6B35}
.atb-blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:32px}
.atb-blog-card{background:#fff;border:1px solid #E8E5E0;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:all .2s;display:flex;flex-direction:column}
.atb-blog-card:hover{border-color:#C5C1BB;transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.atb-blog-thumb{height:180px;overflow:hidden;flex-shrink:0}
.atb-blog-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.atb-blog-card:hover .atb-blog-thumb img{transform:scale(1.04)}
.atb-blog-no-thumb{display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:700;color:rgba(255,255,255,.9)}
.atb-blog-card-body{padding:18px;flex:1;display:flex;flex-direction:column}
.atb-blog-meta{display:flex;align-items:center;gap:8px;font-size:11px;color:#ABA7A0;margin-bottom:8px;flex-wrap:wrap}
.atb-blog-cat-tag{background:#FFF3EF;color:#E8561F;border:1px solid #FFD9C9;font-size:10px;font-weight:700;padding:2px 8px;border-radius:50px}
.atb-blog-title{font-size:17px;font-weight:700;color:#1A1916;line-height:1.3;margin-bottom:8px}
.atb-blog-excerpt{font-size:13px;color:#5A554F;line-height:1.55;flex:1;margin-bottom:12px}
.atb-blog-read-more{font-size:13px;font-weight:600;color:#FF6B35}
.atb-blog-pagination{display:flex;gap:6px;flex-wrap:wrap}.atb-blog-pagination .page-numbers{background:#fff;border:1px solid #E8E5E0;color:#5A554F;padding:7px 13px;border-radius:8px;text-decoration:none;font-size:13px}.atb-blog-pagination .page-numbers.current{background:#FF6B35;border-color:#FF6B35;color:#fff}.atb-blog-pagination .page-numbers:hover:not(.current){border-color:#FF6B35;color:#FF6B35}
.atb-blog-empty{text-align:center;padding:60px 20px;color:#9A958F}

@media(max-width:768px){.ot-hero{padding:30px 16px 24px}.ot-page-wrap{padding:20px 16px 48px}.ot-hero h1{font-size:26px}.ot-pub-grid,.ot-tools-grid,.atb-blog-grid{grid-template-columns:1fr}.ot-form-grid{grid-template-columns:1fr}.ot-fi.ot-full{grid-column:1}.ot-nav{padding:0 16px}}
