/*
Theme Name: DictionaryTalk Voice Translator
Theme URI: https://dictionarytalk.com/
Author: ZA IT FIRM
Description: Mobile-first AI voice translation theme for Bangla to English and German with speech input and spoken output.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dictionarytalk
*/
:root{--dt-bg:#f7f8fb;--dt-card:#fff;--dt-text:#151a23;--dt-muted:#657084;--dt-border:#e7eaf0;--dt-accent:#5a4ff3;--dt-accent2:#7b72ff;--dt-success:#1a9b68;--dt-shadow:0 20px 60px rgba(27,33,52,.10);--dt-radius:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fbfbfe 0,#f5f6fa 100%);color:var(--dt-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}.dt-wrap{width:min(1180px,calc(100% - 28px));margin:auto}.dt-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,234,240,.8)}.dt-header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px}.dt-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:var(--dt-text);text-decoration:none}.dt-brand-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--dt-accent),#24b1ff);display:grid;place-items:center;color:#fff;font-weight:900}.dt-nav a{color:var(--dt-muted);text-decoration:none;margin-left:24px;font-weight:650}.dt-hero{padding:54px 0 28px;text-align:center}.dt-kicker{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--dt-border);padding:8px 12px;border-radius:999px;background:#fff;font-size:13px;color:var(--dt-muted)}.dt-hero h1{font-size:clamp(34px,7vw,66px);line-height:1.02;margin:18px auto 14px;max-width:900px;letter-spacing:-.045em}.dt-hero p{font-size:clamp(16px,2.5vw,20px);color:var(--dt-muted);max-width:760px;margin:0 auto}.dt-translator{background:var(--dt-card);border:1px solid var(--dt-border);border-radius:30px;box-shadow:var(--dt-shadow);overflow:hidden;margin:34px auto 54px}.dt-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--dt-border);gap:12px;flex-wrap:wrap}.dt-langflow{display:flex;align-items:center;gap:9px;font-weight:750}.dt-pill{padding:8px 11px;border-radius:999px;background:#f3f4f8;font-size:13px}.dt-swap{color:var(--dt-muted)}.dt-status{font-size:13px;color:var(--dt-muted)}.dt-grid{display:grid;grid-template-columns:1fr 1fr}.dt-panel{padding:22px;min-height:340px;position:relative}.dt-panel:first-child{border-right:1px solid var(--dt-border)}.dt-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.dt-label{font-weight:800}.dt-small{color:var(--dt-muted);font-size:13px}.dt-input{width:100%;min-height:180px;border:0;outline:none;resize:vertical;font:inherit;font-size:19px;line-height:1.55;color:var(--dt-text);background:transparent}.dt-input::placeholder{color:#a4aabb}.dt-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.dt-btn{border:0;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer;font-size:14px}.dt-btn-primary{background:linear-gradient(135deg,var(--dt-accent),var(--dt-accent2));color:white;box-shadow:0 10px 30px rgba(90,79,243,.24)}.dt-btn-soft{background:#f3f4f8;color:var(--dt-text)}.dt-btn-round{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:20px}.dt-btn.recording{background:#ffebe9;color:#d5362e;animation:pulse 1.2s infinite}@keyframes pulse{50%{transform:scale(1.07)}}.dt-result-card{border:1px solid var(--dt-border);background:#fafbfe;border-radius:18px;padding:16px;margin-bottom:14px}.dt-result-lang{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.dt-result-lang strong{font-size:14px}.dt-result-text{font-size:19px;white-space:pre-wrap}.dt-empty{height:220px;display:grid;place-items:center;text-align:center;color:var(--dt-muted)}.dt-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0 0 54px}.dt-feature{background:#fff;border:1px solid var(--dt-border);border-radius:20px;padding:22px}.dt-feature h3{margin:8px 0}.dt-icon{font-size:26px}.dt-how{padding:20px 0 56px}.dt-how h2,.dt-seo h2{text-align:center;font-size:34px;letter-spacing:-.025em}.dt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dt-step{padding:22px;background:#fff;border:1px solid var(--dt-border);border-radius:18px}.dt-step b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eeeefe;color:var(--dt-accent);margin-bottom:10px}.dt-footer{border-top:1px solid var(--dt-border);padding:28px 0 38px;color:var(--dt-muted);font-size:14px}.dt-footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.dt-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(100px);background:#151a23;color:white;padding:11px 16px;border-radius:12px;opacity:0;transition:.25s;z-index:99}.dt-toast.show{transform:translateX(-50%) translateY(0);opacity:1}.dt-loader{display:none;margin-left:8px}.dt-loader.on{display:inline-block}.dt-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.dt-chip{border:1px solid var(--dt-border);background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;cursor:pointer}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:800px){.dt-nav{display:none}.dt-hero{padding-top:34px}.dt-translator{border-radius:22px;margin-top:24px}.dt-grid{grid-template-columns:1fr}.dt-panel{min-height:auto}.dt-panel:first-child{border-right:0;border-bottom:1px solid var(--dt-border)}.dt-feature-grid,.dt-steps{grid-template-columns:1fr}.dt-input{min-height:140px}.dt-panel{padding:18px}.dt-toolbar{padding:13px}.dt-hero h1{font-size:42px}.dt-actions .dt-btn-primary{flex:1}.dt-result-text{font-size:18px}}
@media(max-width:430px){.dt-wrap{width:min(100% - 18px,1180px)}.dt-header-inner{min-height:64px}.dt-brand{font-size:18px}.dt-brand-mark{width:34px;height:34px}.dt-hero h1{font-size:36px}.dt-translator{box-shadow:0 14px 40px rgba(27,33,52,.09)}.dt-langflow{width:100%;justify-content:center}.dt-status{width:100%;text-align:center}.dt-btn{padding:11px 13px}}
