/* Scoped styles: existing MutariBus layout and buttons keep their styles. */
.mt-consent[hidden],.mt-cookie-shortcut[hidden]{display:none!important}
.mt-consent,.mt-cookie-dialog,.mt-cookie-shortcut{font:400 15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#0f172a;box-sizing:border-box}
.mt-consent *, .mt-cookie-dialog *{box-sizing:border-box}
.mt-consent{position:fixed;z-index:2147483000;bottom:18px;left:20px;right:20px;max-width:1100px;margin:auto;background:#fff;border:1px solid #cbd5e1;border-radius:20px;box-shadow:0 14px 65px #0f172a35;padding:22px 26px}
.mt-consent-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.mt-consent-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eaf1ff;color:#1d4ed8;font-weight:900;flex-shrink:0}
.mt-consent h2,.mt-cookie-dialog h2{font-size:20px;line-height:1.3;margin:0;font-weight:800;color:#0f172a}
.mt-consent p{margin:0 0 12px;color:#475569;font-size:14px;max-width:970px}
.mt-consent a,.mt-cookie-dialog a,.mt-policy-links a,.mt-form-privacy a{color:#1d4ed8;text-decoration:underline;text-underline-offset:3px}
.mt-consent-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 16px;font-size:13px}
.mt-cookie-actions{display:flex;flex-wrap:wrap;gap:10px}
.mt-cookie-button{appearance:none;border:1px solid #1f5fbf;border-radius:11px;background:#fff;color:#1d4ed8;min-height:45px;padding:10px 18px;font:700 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;cursor:pointer;text-align:center}
.mt-cookie-button:hover{background:#eff6ff}
.mt-cookie-button:focus-visible,.mt-cookie-shortcut:focus-visible,.mt-cookie-dialog a:focus-visible,.mt-cookie-dialog input:focus-visible{outline:3px solid #facc15;outline-offset:3px}
.mt-cookie-primary{background:#1f5fbf;color:#fff}
.mt-cookie-primary:hover{background:#1d4ed8}
.mt-cookie-shortcut{position:fixed;left:14px;bottom:14px;z-index:1001;background:white;border:1px solid #94a3b8;border-radius:999px;padding:8px 13px;cursor:pointer;box-shadow:0 4px 20px #0f172a15;font-size:12px}
.mt-cookie-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #cbd5e1;border-radius:20px;padding:26px;background:white;box-shadow:0 24px 90px #0f172a50}
.mt-cookie-dialog::backdrop{background:#0f172a70}
.mt-cookie-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.mt-cookie-close{appearance:none;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;min-width:38px;min-height:38px;cursor:pointer;font-size:22px}
.mt-cookie-dialog p{color:#475569;font-size:14px;margin:10px 0 16px}
.mt-cookie-category{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid #e2e8f0}
.mt-cookie-category label{display:block;cursor:pointer}
.mt-cookie-category strong{display:block;font-size:15px}
.mt-cookie-category small{display:block;color:#475569;font-size:13px;margin-top:4px}
.mt-cookie-category input{width:22px;height:22px;accent-color:#1f5fbf;flex-shrink:0;margin:3px 0 0}
.mt-cookie-status{font-size:11px;color:#475569;background:#f1f5f9;border-radius:6px;padding:3px 7px;display:inline-block;margin-top:7px}
.mt-cookie-essential{font-size:12px;font-weight:700;color:#166534;white-space:nowrap;margin-top:3px}
.mt-cookie-dialog .mt-cookie-actions{margin-top:16px}
.mt-policy-links{display:flex;justify-content:center;gap:10px 20px;flex-wrap:wrap;margin:12px 0}
.mt-policy-links button{border:0;padding:0;background:none;font:inherit;color:#1d4ed8;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.mt-form-privacy{font-size:12px!important;line-height:1.6;color:#475569;margin:6px 0 0!important}
body.mt-banner-visible .floatbar{bottom:calc(var(--mt-banner-height,260px) + 36px)}
body.mt-settings-visible .floatbar{visibility:hidden}
@media(max-width:640px){
  .mt-consent{bottom:10px;left:10px;right:10px;padding:18px;border-radius:16px;max-height:calc(100dvh - 30px);overflow:auto}
  .mt-consent h2{font-size:18px}
  .mt-cookie-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .mt-cookie-button{width:100%;padding:10px 12px}
  .mt-cookie-dialog{padding:20px;max-height:calc(100dvh - 24px)}
  body.mt-banner-visible .floatbar{display:none}
}
@media(prefers-reduced-motion:reduce){.mt-consent *,.mt-cookie-dialog *{scroll-behavior:auto}}

.mt-footer-legal{padding:12px 0 24px;font-size:13px;text-align:center}
.mt-policy-links a,.mt-policy-links button{color:#1d4ed8}
.policy-page .mt-policy-links a,.policy-page .mt-policy-links button{color:#1d4ed8}
.mt-form-privacy{color:#cbd5e1}.mt-form-privacy a{color:#1d4ed8}

.mt-main-page .mt-footer-legal .mt-policy-links a,.mt-main-page .mt-footer-legal .mt-policy-links button{color:#fff}
.mt-form-privacy{color:#475569!important}.mt-form-privacy a{color:#1d4ed8}
body.mt-banner-visible .float-wa{bottom:calc(var(--mt-banner-height,260px) + 36px)}
body.mt-settings-visible .float-wa{visibility:hidden}
@media(max-width:640px){body.mt-banner-visible .float-wa{display:none}}
