:root {
  --dmhook-blue: #2563eb;
  --dmhook-blue-deep: #1d4ed8;
  --dmhook-blue-soft: #eff6ff;
  --dmhook-ink: #0b1020;
}

/* Creator studio: dark navigation, blue active states, and a clear work area. */
.workspace-redesign .sidebar,
.workspace-redesign[data-workspace-view="overview"] .sidebar {
  background: #080d18 !important;
  border-right: 1px solid #17233a !important;
}
.workspace-redesign .sidebar-header,
.workspace-redesign .sidebar-footer { border-color: #17233a !important; }
.workspace-redesign .sidebar-studio-label { color: #8fb1ff !important; }
.workspace-redesign .sidebar-toggle-btn,
.workspace-redesign .sidebar-mobile-close-btn { color: #9aa8c2 !important; }
.workspace-redesign .sidebar-toggle-btn:hover { background: #131e34 !important; color: #fff !important; }
.workspace-redesign .dashboard-nav-item,
.workspace-redesign[data-workspace-view="overview"] .dashboard-nav-item { color: #b8c3d8 !important; }
.workspace-redesign .dashboard-nav-item:hover:not(.is-active) { background: #111a2b !important; color: #fff !important; }
.workspace-redesign .dashboard-nav-item.is-active,
.workspace-redesign[data-workspace-view="overview"] .dashboard-nav-item.is-active {
  background: #152a50 !important;
  color: #dce8ff !important;
}
.workspace-redesign .dashboard-nav-item.is-active .dashboard-nav-icon { color: #8eb1ff !important; }
.workspace-redesign .sidebar-footer .menu-item { color: #a9b5ca !important; }
.workspace-redesign .sidebar-footer .menu-item:hover { background: #111a2b !important; color: #fff !important; }
.workspace-redesign .sidebar-footer .menu-item svg { color: #93a3bf !important; }
.workspace-redesign .sidebar-footer .menu-item.is-active { background: #152a50 !important; color: #dce8ff !important; }
.workspace-redesign .dashboard-nav-item:focus-visible,
.workspace-redesign button:focus-visible,
.workspace-redesign a:focus-visible,
.workspace-redesign input:focus-visible,
.workspace-redesign select:focus-visible { outline-color: #4f83ff !important; }
.workspace-redesign .workspace-signin-status,
.workspace-redesign .overview-link,
.workspace-redesign .overview-text-link { color: #2563eb; }
.workspace-redesign .dashboard-boot {
  background: radial-gradient(circle at 50% 24%, #13254a 0%, #0b1222 55%, #070b14 100%) !important;
  color: #edf3ff !important;
}
.workspace-redesign .dashboard-boot-card {
  border-color: #22314e !important;
  background: #0d1629 !important;
  box-shadow: 0 24px 65px rgba(0,0,0,.36) !important;
}
.workspace-redesign .dashboard-boot-badge { color: #b8d0ff !important; background: #142b50 !important; border-color: #294572 !important; }
.workspace-redesign .meter-spinner { border-color: #253755 !important; border-top-color: #4b83ff !important; }
.workspace-redesign .meter-title { color: #f2f6ff !important; }
.workspace-redesign .meter-status,
.workspace-redesign .dashboard-boot-tip { color: #a1aec5 !important; }

/* Store builder keeps its light canvas readable while the tool chrome uses Dmhook's dark-blue palette. */
.form-builder-body { background: #eef2f9 !important; color: #111a2c !important; }
.form-builder-body .fb-topbar { background: #080d18 !important; border-color: #1b2943 !important; color: #eef3ff !important; }
.form-builder-body .fb-topbar-page-label { color: #e8efff !important; }
.form-builder-body .fb-back-link { border-color: #2a3852 !important; background: #111a2d !important; color: #d2def4 !important; }
.form-builder-body .fb-back-link:hover { border-color: #4f83ff !important; background: #172746 !important; color: #fff !important; }
.form-builder-body .fb-btn-preview-top { border-color: #4c7dff !important; color: #3c6fe9 !important; }
.form-builder-body .fb-btn-preview-top:hover { background: #eff6ff !important; }
.form-builder-body .fb-status-pill { color: #2860ca !important; background: #eaf2ff !important; }
.form-builder-body .fb-card { box-shadow: 0 8px 24px rgba(15, 31, 61, .045) !important; }
.form-builder-body .fb-success-icon { color: #2563eb !important; background: #dbeafe !important; }
.form-builder-body .fb-success-dialog { border: 1px solid #dce5f3; box-shadow: 0 20px 55px rgba(11,24,52,.18); }
.form-builder-body .fb-modal-overlay { background: rgba(5, 10, 21, .68) !important; }
.form-builder-body .fb-btn-continue,
.form-builder-body .fb-btn-save-publish,
.form-builder-body .fb-btn-modal-primary { background: linear-gradient(120deg,#3869ed,#247fe2) !important; border-color: #3869ed !important; color: #fff !important; }
.form-builder-body .fb-btn-continue:hover,
.form-builder-body .fb-btn-save-publish:hover,
.form-builder-body .fb-btn-modal-primary:hover { background: linear-gradient(120deg,#4c7cff,#3095f2) !important; }
.form-builder-body .fb-input:focus,
.form-builder-body .fb-textarea:focus,
.form-builder-body .fb-device-select:focus { border-color: #4c7dff !important; box-shadow: 0 0 0 3px rgba(59,115,239,.14) !important; }

/* Default platform checkout and delivery status use blue. Creator-specific storefront styles remain intact. */
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .checkout-progress-fill,
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .delivery-progress-fill { background: linear-gradient(90deg,#3d70f5,#45b8ff) !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .checkout-input:focus { border-color: #3674f4 !important; box-shadow: 0 0 0 2px rgba(54,116,244,.2) !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .payment-method-row.selected { background: #eff6ff !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .pay-secure-btn { background: linear-gradient(115deg,#3264ee,#277bdc 68%,#24a1df) !important; box-shadow: 0 5px 15px rgba(39,107,232,.24) !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .pay-secure-btn:hover { background: linear-gradient(115deg,#4a79ff,#338cf1 68%,#35b6ee) !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) .checkout-card { border-color: #dce5f3 !important; box-shadow: 0 12px 38px rgba(11,25,53,.1) !important; }
.dmhook-checkout:not(.ebook-story-checkout):not(.ebook-hub-checkout) a { color: #2563eb; }
.dmhook-checkout.ebook-hub-checkout .checkout-wrapper > footer img,
.dmhook-thankyou.ebook-hub-thankyou .thankyou-wrapper > footer img { filter: brightness(0) invert(1); }

.dmhook-payment { background: radial-gradient(ellipse at 50% 0%,#172a52,#0b1120 54%,#070b15) !important; color: #f2f6ff; }
.dmhook-payment .payment-card { border-color: #253655 !important; background: #0e172a !important; box-shadow: 0 24px 65px rgba(0,0,0,.35) !important; }
.dmhook-payment .payment-amount-label,
.dmhook-payment .timer-text { color: #a5b3cb !important; }
.dmhook-payment .payment-amount { color: #f2f6ff !important; }
.dmhook-payment .verify-payment-btn { background: linear-gradient(115deg,#3264ee,#277bdc 68%,#24a1df) !important; box-shadow: 0 5px 15px rgba(39,107,232,.24) !important; }
.dmhook-payment .verify-payment-btn:hover { background: linear-gradient(115deg,#4a79ff,#338cf1 68%,#35b6ee) !important; }
.dmhook-payment footer, .dmhook-payment footer a { color: #99a8c1 !important; }

.dmhook-thankyou .success-icon-wrap { color: #2f73ee !important; background: #e7efff !important; }
.dmhook-thankyou .delivery-progress-fill { background: linear-gradient(90deg,#3d70f5,#45b8ff) !important; }
.dmhook-thankyou .download-btn { background: linear-gradient(115deg,#3264ee,#277bdc 68%,#24a1df) !important; }
.dmhook-thankyou .support-link { color: #2563eb !important; }

.legal-badge-pill { color: #1d4ed8 !important; background: #eff6ff !important; border-color: #bfdbfe !important; }
.contact-success-banner { color: #1e40af !important; border-color: #93c5fd !important; background: #eff6ff !important; }
