/* ConvertZippy — tool page template styles (shared by every tool page) */

/* Breadcrumb */
.breadcrumb{font-size:13px;color:var(--muted);padding:18px 0 0;}
.breadcrumb a{color:var(--body);}
.breadcrumb a:hover{color:var(--primary);}
.breadcrumb .sep{margin:0 6px;color:#C9C9C2;}
.breadcrumb .current{color:var(--heading);font-weight:700;}

/* Tool heading */
.tool-head{padding:14px 0 0;}
.tool-head h1{font-size:28px;margin:0;line-height:1.3;}
.tool-tagline{font-size:15px;color:var(--body);margin:8px 0 0;line-height:1.6;max-width:720px;}

/* Tool box (upload + files + settings + action) */
.tool-box{background:#fff;border:1px solid var(--border);border-radius:8px;padding:20px;margin:20px 0 0;}
.tool-box .drop-box{margin:0 auto;text-align:center;}
.file-list{margin:16px 0 0;display:none;}
.file-list.show{display:block;}
.file-row{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:6px;padding:8px 12px;margin-bottom:8px;}
.file-row img{width:44px;height:44px;object-fit:cover;border-radius:4px;border:1px solid var(--border);}
.file-row .file-name{font-size:13.5px;font-weight:700;color:var(--heading);word-break:break-all;}
.file-row .file-size{font-size:12px;color:var(--muted);}
.file-row .file-remove{margin-left:auto;background:none;border:1px solid var(--border);border-radius:6px;color:#B3261E;font-size:12.5px;padding:5px 10px;cursor:pointer;flex:none;}
.file-row .file-remove:hover{border-color:#B3261E;}
.add-more{margin:4px 0 0;}
.btn-secondary{display:inline-block;background:#fff;color:var(--heading);font-weight:700;font-size:13.5px;padding:9px 18px;border-radius:6px;cursor:pointer;border:1px solid var(--border);}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary);}

/* Settings */
.settings{margin:18px 0 0;border-top:1px solid var(--border);padding-top:16px;}
.settings h2{font-size:16px;margin:0 0 12px;}
.setting-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:14px;}
.setting{flex:1;min-width:180px;}
.setting label{display:block;font-size:13px;font-weight:700;color:var(--heading);margin-bottom:5px;}
.setting select{width:100%;font-size:14px;padding:9px 10px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--heading);}
.setting .setting-note{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.5;}

/* Action row */
.tool-actions{margin:16px 0 0;display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.btn-convert{background:var(--primary);color:#fff;font-weight:700;font-size:15px;padding:12px 30px;border-radius:6px;cursor:pointer;border:none;}
.btn-convert:hover{background:#D25E12;}
.btn-convert:disabled{background:#D8BBA6;cursor:not-allowed;}
.btn-download{display:none;background:#2E7D32;color:#fff;font-weight:700;font-size:15px;padding:12px 30px;border-radius:6px;cursor:pointer;border:none;}
.btn-download.show{display:inline-block;}
.btn-download:hover{background:#256628;}
.tool-status{font-size:13px;color:var(--body);}
.privacy-note{font-size:12.5px;color:var(--muted);margin:14px 0 0;line-height:1.6;}
.privacy-note strong{color:var(--heading);}

/* Guide content */
.guide{padding:30px 0 0;max-width:820px;}
.guide h2{font-size:20px;margin:0 0 10px;}
.guide h3{font-size:16px;margin:20px 0 8px;}
.guide p{font-size:14.5px;color:var(--body);line-height:1.75;margin:0 0 12px;}
.guide ul{margin:0 0 12px;padding-left:20px;color:var(--body);font-size:14.5px;line-height:1.8;}

/* Converted pages grid (PDF to Image) */
.page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:16px 0 0;}
.page-card{border:1px solid var(--border);border-radius:6px;padding:8px;text-align:center;}
.page-card img{width:100%;height:auto;border:1px solid var(--border);border-radius:4px;display:block;}
.page-card p{font-size:12.5px;color:var(--body);margin:8px 0 6px;}
.page-card a{display:inline-block;font-size:12.5px;font-weight:700;color:var(--primary);}
.file-badge{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--bg);border:1px solid var(--border);border-radius:4px;font-size:12px;font-weight:800;color:var(--primary);}

/* Related tools */
.related{padding:30px 0 0;}
.related h2{font-size:21px;margin:0 0 14px;}

@media (max-width:720px){
  .tool-head h1{font-size:23px;}
  .tool-box{padding:14px;}
}
