/*
Theme Name: Epic Forms Demo
Template: twentytwentyfive
Description: Branding for the Epic Forms demo and how-to site (test.epicformbuilder.com).
Version: 1.0.2
Author: Epic Solutions Limited
Text Domain: epicforms-demo
*/

.ef-demo-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.ef-demo-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.ef-demo-brand img { width: 32px; height: 32px; display: block; }
.ef-demo-wordmark { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--wp--preset--color--brand); }
.ef-demo-label { color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.ef-demo-cta a { color: var(--wp--preset--color--brand) !important; font-weight: 600; }

.ef-demo-notice { background: var(--wp--preset--color--notice); color: var(--wp--preset--color--notice-ink); font-size: 0.85rem; }
.ef-demo-notice p { margin: 0; }

.ef-demo-hero { background: linear-gradient(180deg, var(--wp--preset--color--brand-tint), var(--wp--preset--color--base)); }

.ef-demo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.ef-demo-card { display: block; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1.25rem; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ef-demo-card:hover, .ef-demo-card:focus-visible { border-color: var(--wp--preset--color--brand); box-shadow: 0 4px 16px rgba(255, 59, 48, .12); }
.ef-demo-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.ef-demo-card p { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }
.ef-demo-tag { display: inline-block; margin-top: .75rem; font-size: .75rem; padding: .15rem .6rem; border-radius: 999px; background: var(--wp--preset--color--surface); }
.ef-demo-thumb { height: 72px; border-radius: 8px; background: var(--wp--preset--color--surface); margin-bottom: 1rem; padding: .6rem; display: flex; flex-direction: column; gap: .35rem; }
.ef-demo-thumb i { display: block; height: 10px; border-radius: 4px; background: #e5e7eb; }
.ef-demo-thumb i:last-child { width: 40%; background: var(--wp--preset--color--brand); }

.ef-try { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1.5rem; }
.ef-paybox { background: var(--wp--preset--color--surface); border-radius: 8px; padding: .9rem 1rem; font-size: .9rem; }
.ef-paybox p { margin: .2rem 0; }
.ef-copy { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; }
.ef-copy code { font-size: .85rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 4px; padding: .05rem .35rem; word-break: break-all; }
.ef-copy-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.7rem; height: 1.7rem; padding: 0; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--wp--preset--color--muted); cursor: pointer; }
.ef-copy-btn:hover, .ef-copy-btn:focus-visible { color: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--line); }
.ef-copy-btn.is-copied { color: #16a34a; }

ol.ef-steps { list-style: none; counter-reset: ef-step; padding-left: 0; }
ol.ef-steps > li { counter-increment: ef-step; position: relative; padding-left: 2.6rem; margin-bottom: 1.4rem; }
ol.ef-steps > li::before { content: counter(ef-step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--wp--preset--color--brand); color: #fff; font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ef-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--wp--preset--color--line); border-radius: 8px; }
.ef-shot { margin: .6rem 0 0; }

@media (max-width: 781px) {
	.ef-demo-nav { width: 100%; }
}
