/* FinBizTools Phase 5 — Templates & Downloads Stylesheet */
.fbt-templates-directory{margin:24px 0 48px}
.fbt-templates-directory section{margin-bottom:36px}
.fbt-templates-directory h2{font-size:1.6rem;color:#183c30;border-bottom:2px solid #23764c;padding-bottom:8px;margin-bottom:20px}
.template-card{display:flex;flex-direction:column;justify-content:space-between;background:#fff;border:1px solid #d9e5df;border-radius:16px;padding:24px;text-decoration:none;color:#182c24;transition:border-color .15s ease,box-shadow .15s ease}
.template-card:hover{border-color:#23764c;box-shadow:0 6px 20px #183c3014}
.template-card .card-meta{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}
.template-card .badge-free{background:#edf6f0;color:#1b5e3a;font-size:11px;font-weight:700;padding:3px 8px;border-radius:4px;letter-spacing:.5px}
.template-card .badge-fmt{background:#f0f4f2;color:#37483d;font-size:11px;font-weight:600;padding:3px 8px;border-radius:4px}
.template-card h3{font-size:1.25rem;color:#183c30;margin:0 0 8px;line-height:1.3}
.template-card p{font-size:14px;color:#37483d;line-height:1.5;margin:0 0 16px}
.template-card .card-actions{display:flex;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid #edf6f0}
.template-card .btn-download{display:inline-flex;align-items:center;gap:6px;background:#23764c;color:#fff;font-weight:600;font-size:13px;padding:8px 14px;border-radius:8px;text-decoration:none;transition:background .15s ease}
.template-card .btn-download:hover{background:#183c30}
.template-card .btn-details{display:inline-flex;align-items:center;color:#23764c;font-weight:600;font-size:13px;text-decoration:none;padding:8px 0}
.template-card .btn-details:hover{text-decoration:underline}

/* Single Template Product Page */
.fbt-template-product{border:1px solid #d9e5df;border-radius:20px;padding:clamp(20px,4vw,36px);background:#fff;margin:24px 0}
.fbt-template-hero{background:linear-gradient(135deg,#edf6f0 0%,#f8faf9 100%);border:1px solid #c8dcd1;border-radius:16px;padding:clamp(20px,3vw,32px);margin-bottom:32px;display:flex;flex-direction:column;gap:20px}
.fbt-template-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fbt-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #bccfc4;color:#183c30;font-size:12px;font-weight:600;padding:5px 12px;border-radius:20px}
.fbt-pill.free{background:#183c30;color:#fff;border-color:#183c30}
.fbt-download-action{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:8px}
.fbt-btn-download-primary{display:inline-flex;align-items:center;gap:10px;background:#23764c;color:#fff;font-size:16px;font-weight:700;padding:14px 28px;border-radius:10px;text-decoration:none;box-shadow:0 4px 12px #23764c33;transition:background .15s ease,transform .1s ease}
.fbt-btn-download-primary:hover{background:#183c30;color:#fff;transform:translateY(-1px)}
.fbt-btn-download-primary:active{transform:translateY(0)}
.fbt-download-hint{font-size:13px;color:#5a6b63}
.fbt-whats-included{background:#fbfdfc;border:1px solid #d9e5df;border-radius:12px;padding:20px;margin:24px 0}
.fbt-whats-included h3{margin-top:0;font-size:1.15rem;color:#183c30;display:flex;align-items:center;gap:8px}
.fbt-whats-included ul{margin:10px 0 0 20px;padding:0}
.fbt-whats-included li{margin:6px 0;color:#2c4035}
.fbt-compatibility-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px 16px;background:#edf6f0;border-radius:8px;font-size:13px;color:#183c30;margin:20px 0}
.fbt-compatibility-bar strong{color:#1b5e3a}
@media print{.fbt-download-action{display:none!important}}

