/*
 * Small StoreEngine UI rules that used to be printed inline.
 * Loaded on the front end and in wp-admin (handle: storeengine-inline-ui).
 */

/* EU compliance: stack the consent checkboxes. */
.storeengine-consent { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.storeengine-consent__item { display: flex; align-items: flex-start; gap: 8px; }
.storeengine-consent__item input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; }
.storeengine-consent__required { color: #d63638; text-decoration: none; }

/* Vendor signup: first/last name side by side. */
.storeengine-vendor-signup__name-row { display: flex; gap: 12px; }
.storeengine-vendor-signup__name-row > .storeengine-form-row { flex: 1; }

/* Admin menu: keep the logo tile at full strength; highlight the "Get Pro" plugin-row link. */
#adminmenu #toplevel_page_storeengine .wp-menu-image img { opacity: 1; }
.plugins .storeengine-plugins-gopro { color: #2767FF; font-weight: 600; }

/* Multi-vendor: the vendor details view replaces the React app mount. */
body.storeengine-vendor-details-view #storeengine-admin { display: none !important; }

/* Customizer bare preview: hide the theme's header and footer. */
body.storeengine-customize-bare > header,
body.storeengine-customize-bare > footer,
body.storeengine-customize-bare [role="banner"],
body.storeengine-customize-bare [role="contentinfo"],
body.storeengine-customize-bare #masthead,
body.storeengine-customize-bare #colophon,
body.storeengine-customize-bare .site-header,
body.storeengine-customize-bare .site-footer,
body.storeengine-customize-bare .skip-link { display: none !important; }
body.storeengine-customize-bare { padding-top: 0 !important; margin-top: 0 !important; }

/* Embedded instant checkout iframe page. */
body.storeengine-instant-checkout-embed { margin: 0; padding: 12px; background: transparent; }
html.storeengine-instant-checkout-embed { margin: 0; padding: 0; background: transparent; }
