/* EquaRent admin — EquaSuite appearance, carried on EquaRent's OWN prefixed scope (equarent-);
   never a foreign or abbreviated admin scope. */
.equarent-admin {
	--equarent-blue: #1981DE;
	--equarent-navy: #0C3A66;
	--equarent-sky:  #34BFFF;
	--equarent-ink:  #000D1C;
	--equarent-radius: 12px;
	/* Responsive content width: full width on small screens, a generous cap on
	   large ones (the admin used to stop at ~820px — about half a wide screen). */
	--equarent-wide: min( 1240px, 100% );
	font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--equarent-ink);
}
/* Single-line inputs stay readable even inside a wide card; textareas (HTML
   editors, legal pages, template bodies) keep the full card width. */
.equarent-admin .equarent-field input[type="text"],
.equarent-admin .equarent-field input[type="email"],
.equarent-admin .equarent-field input[type="url"],
.equarent-admin .equarent-field input[type="password"],
.equarent-admin .equarent-field input[type="search"] { max-width: 680px; }
@media ( max-width: 782px ) {
	.equarent-admin .equarent-field input[type="text"],
	.equarent-admin .equarent-field input[type="email"],
	.equarent-admin .equarent-field input[type="url"],
	.equarent-admin .equarent-field input[type="password"],
	.equarent-admin .equarent-field input[type="search"] { max-width: none; }
}
.equarent-admin__head { display: flex; align-items: center; gap: 14px; margin: 10px 0 18px; }
.equarent-admin__logo { height: 56px; width: auto; }
.equarent-admin__title { font-size: 18px; font-weight: 800; color: var(--equarent-navy); margin: 0 0 6px; }
.equarent-card { background: #fff; border: 1px solid #e6edf5; border-radius: var(--equarent-radius); padding: 20px 22px; max-width: var( --equarent-wide ); box-shadow: 0 1px 2px rgba( 12, 58, 102, .05 ); }
.equarent-card + .equarent-card { margin-top: 18px; }

/* Tabs (progressive enhancement; without JS every panel shows) */
.equarent-tabs { display: flex; flex-wrap: wrap; gap: 4px; max-width: var( --equarent-wide ); margin: 0 0 16px; border-bottom: 2px solid #e6edf5; }
.equarent-tab { appearance: none; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: #4a5566; cursor: pointer; border-radius: 6px 6px 0 0; }
.equarent-tab:hover { color: var(--equarent-navy); background: #f3f8fd; }
.equarent-tab.is-active { color: var(--equarent-blue); border-bottom-color: var(--equarent-blue); }
.equarent-tab:focus-visible { outline: 2px solid var(--equarent-blue); outline-offset: 2px; }
.equarent-tabpanel + .equarent-tabpanel { margin-top: 18px; }
.equarent-muted { color: #4a5566; margin: 0; }

/* Property form */
.equarent-field { margin: 0 0 16px; }
.equarent-field label { display: block; font-weight: 600; color: var(--equarent-navy); margin: 0 0 5px; }
.equarent-field input[type="text"],
.equarent-field input[type="number"],
.equarent-field select,
.equarent-field textarea { border: 1px solid #d3dce6; border-radius: 8px; padding: 7px 10px; }
.equarent-field input:focus,
.equarent-field select:focus,
.equarent-field textarea:focus { border-color: var(--equarent-blue); box-shadow: 0 0 0 1px var(--equarent-blue); outline: none; }
.equarent-field .equarent-hint { color: #6a7585; font-size: 12px; margin: 5px 0 0; }
.equarent-grid { display: grid; grid-template-columns: repeat( auto-fit, minmax( 170px, 1fr ) ); gap: 8px 18px; }
.equarent-grid .equarent-field input[type="number"] { width: 100%; max-width: 160px; }
.equarent-field__legend { display: block; font-weight: 600; color: var(--equarent-navy); margin: 0 0 7px; }
.equarent-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.equarent-check { font-weight: 400; color: var(--equarent-ink); }
/* Amenities */
.equarent-amenity-group { margin: 18px 0 0; }
.equarent-amenity-group__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--equarent-blue); margin: 0 0 8px; }
.equarent-amenity-grid { display: grid; grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) ); gap: 4px 14px; }
.equarent-amenity { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.equarent-amenity:hover { background: #f3f8fd; }
.equarent-amenity__icon { flex: 0 0 auto; opacity: .55; }
.equarent-amenity__label { font-size: 13px; }
.equarent-amenity:has( input:checked ) { background: #eaf4fd; border-color: #bfe0fb; }
.equarent-amenity:has( input:checked ) .equarent-amenity__icon { opacity: 1; filter: invert(36%) sepia(89%) saturate(1620%) hue-rotate(191deg) brightness(92%) contrast(91%); }
.equarent-amenity:has( input:checked ) .equarent-amenity__label { font-weight: 600; color: var(--equarent-navy); }
.equarent-actions { max-width: var( --equarent-wide ); margin: 18px 0 0; }

/* Pricing */
.equarent-seasons, .equarent-quote { max-width: var( --equarent-wide ); margin: 10px 0 0; }
.equarent-quote__amount { text-align: right; white-space: nowrap; }
.equarent-quote__total td { border-top: 2px solid #e6edf5; }
.equarent-season-add { margin-top: 18px; border-top: 1px solid #eef3f8; padding-top: 12px; }
.equarent-sim-invalid { color: #8a1f11; background: #fdecea; border: 1px solid #f5c6c0; border-radius: 8px; padding: 10px 12px; max-width: var( --equarent-wide ); }
.equarent-simulator { margin-bottom: 6px; }

/* Calendar */
.equarent-cal-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.equarent-cal-title { margin: 0; min-width: 190px; text-align: center; }
.equarent-cal { max-width: 700px; }
.equarent-cal__row--head, .equarent-cal__grid { display: grid; grid-template-columns: repeat( 7, 1fr ); gap: 6px; }
.equarent-cal__dow { text-align: center; font-size: 12px; font-weight: 700; color: #6a7585; padding: 4px 0; }
.equarent-cal__grid { margin-top: 6px; }
.equarent-cal__cell { position: relative; min-height: 58px; border: 1px solid #e6edf5; border-radius: 8px; padding: 6px 8px; background: #fff; }
.equarent-cal__cell--empty { border: none; background: transparent; }
.equarent-cal__num { font-size: 13px; font-weight: 600; color: var(--equarent-navy); }
.equarent-cal__mark { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 15px; line-height: 1; }
.equarent-cal__cell.is-available { background: #f3fbf5; border-color: #cdeed6; }
.equarent-cal__cell.is-booked { background: #eaf2fd; border-color: #bcd8f7; color: var(--equarent-blue); }
.equarent-cal__cell.is-booked .equarent-cal__mark { color: var(--equarent-blue); }
.equarent-cal__cell.is-blocked { background: #f4f1f7; border-color: #d9cfe6; color: #6c5a86; }
.equarent-cal__cell.is-blocked .equarent-cal__mark { color: #6c5a86; }
.equarent-cal__cell.is-past { opacity: .5; }
.equarent-cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; }
.equarent-cal-legend li { display: flex; align-items: center; gap: 7px; color: #4a5566; }
.equarent-cal-legend__sw { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 5px; border: 1px solid #ccd6e0; font-size: 12px; }
.equarent-cal-legend .is-available .equarent-cal-legend__sw { background: #f3fbf5; border-color: #cdeed6; }
.equarent-cal-legend .is-booked .equarent-cal-legend__sw { background: #eaf2fd; border-color: #bcd8f7; color: var(--equarent-blue); }
.equarent-cal-legend .is-blocked .equarent-cal-legend__sw { background: #f4f1f7; border-color: #d9cfe6; color: #6c5a86; }

/* Reservations */
.equarent-res-filters { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; }
.equarent-res-filter { text-decoration: none; padding: 4px 12px; border-radius: 999px; border: 1px solid #d3dce6; font-size: 13px; font-weight: 600; color: #4a5566; }
.equarent-res-filter:hover { background: #f3f8fd; }
.equarent-res-filter.is-active { background: var(--equarent-blue); border-color: var(--equarent-blue); color: #fff; }
.equarent-res-table { max-width: var( --equarent-wide ); margin-top: 4px; }
.equarent-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.equarent-badge--pending { background: #fff3da; color: #8a6400; }
.equarent-badge--confirmed { background: #e6f6ea; color: #1a7a38; }
.equarent-badge--cancelled { background: #fdecea; color: #8a1f11; }
.equarent-badge--expired { background: #eef0f3; color: #6a7585; }

/* Payments */
.equarent-kek { display: inline-block; background: #0c3a66; color: #dff0ff; padding: 8px 12px; border-radius: 8px; font-size: 13px; word-break: break-all; }
.equarent-break { word-break: break-all; max-width: 360px; }

/* Configurator */
.equarent-cfg__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid #e6edf5; border-radius: 10px; margin: 0 0 8px; max-width: 560px; background: #fff; }
.equarent-cfg__row.is-off { opacity: .6; background: #fafbfd; }
.equarent-cfg__toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--equarent-navy); margin: 0; }
.equarent-cfg__move button { margin-left: 4px; }
.equarent-cfg__actions { max-width: 560px; margin-top: 14px; }
.equarent-cfg__status { margin-left: 10px; color: #1a7a38; font-weight: 600; }

/* Structure configurator */
.equarent-sc__main { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.equarent-sc__pages { flex: 1 1 420px; min-width: 300px; }
/* The palette (available elements) stays on screen while the page list scrolls. */
.equarent-sc__palette { flex: 0 0 220px; position: sticky; top: 40px; align-self: flex-start; max-height: calc( 100vh - 72px ); overflow: auto; }

/* Accordions: top-level sections (Pages / Menu) and each page fold away to declutter the builder.
   Native <details>; the disclosure marker is replaced by a rotating caret. */
.equarent-sc__section { border: 1px solid #e6edf5; border-radius: 10px; margin: 0 0 14px; background: #fff; }
.equarent-sc__section-sum, .equarent-sc__page-sum { cursor: pointer; list-style: none; }
.equarent-sc__section-sum::-webkit-details-marker, .equarent-sc__page-sum::-webkit-details-marker { display: none; }
.equarent-sc__section-sum { padding: 12px 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--equarent-blue); font-weight: 700; }
.equarent-sc__section-sum::before, .equarent-sc__page-sum::before { content: '▸'; display: inline-block; margin-right: 8px; transition: transform .15s; }
.equarent-sc__section[open] > .equarent-sc__section-sum::before, .equarent-sc__page-acc[open] > .equarent-sc__page-sum::before { transform: rotate( 90deg ); }
.equarent-sc__section > .equarent-sc__main, .equarent-sc__section > .equarent-sc__menu { padding: 0 14px 14px; }
.equarent-sc__page-acc { border: 1px solid #e6edf5; border-radius: 10px; margin: 0 0 10px; background: #fff; }
.equarent-sc__page-sum { padding: 10px 12px; font-weight: 600; color: var(--equarent-ink); }
.equarent-sc__page-sum::before { color: #8a95a5; }
/* Inside an accordion the page body drops its own frame to avoid a double border. */
.equarent-sc__page-acc > .equarent-sc__page { border: none; border-radius: 0; margin: 0; padding: 0 12px 12px; background: none; }
.equarent-sc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--equarent-blue); margin: 0 0 10px; }
.equarent-sc__page { border: 1px solid #e6edf5; border-radius: 10px; padding: 12px; margin: 0 0 12px; background: #fff; }
.equarent-sc__page-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.equarent-sc__page-head input { flex: 1; }
.equarent-sc__btns button { margin-left: 2px; }
.equarent-sc__zone { min-height: 54px; border: 2px dashed #cdd8e4; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.equarent-sc__hint { color: #8a95a5; font-size: 13px; margin: 4px; }
.equarent-sc__sec { display: flex; flex-direction: column; gap: 6px; background: #eaf2fd; border: 1px solid #bcd8f7; border-radius: 6px; padding: 6px 10px; cursor: grab; }
.equarent-sc__sec-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.equarent-sc__params { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 2px; border-top: 1px dashed #bcd8f7; }
.equarent-sc__params label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #4a5568; }
.equarent-sc__params input[type="number"] { width: 58px; }
.equarent-sc__params input[type="color"] { width: 34px; height: 26px; padding: 0; border: 1px solid #bcd8f7; }
/* Delete button: boxed, top-right, matching the Footer builder's remove button. */
.equarent-sc__x { margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var( --equarent-border ); border-radius: 7px; background: #fff; color: #b32d2e; font-size: 16px; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s; }
.equarent-sc__x:hover { background: #fdecea; border-color: #e7a59f; }
.equarent-sc__chip { background: #f3f8fd; border: 1px solid #d3e2f3; border-radius: 6px; padding: 7px 10px; margin: 0 0 6px; cursor: grab; font-weight: 600; font-size: 13px; }
.equarent-sc__chip:hover { background: #eaf2fd; }
.equarent-sc__menu { margin-top: 18px; max-width: var( --equarent-wide ); }
.equarent-sc__mi { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
.equarent-sc__mi input, .equarent-sc__mi select { flex: 1 1 0; min-width: 0; }
.equarent-sc__actions { margin-top: 16px; }

/* Gallery manager */
.equarent-gallery-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.equarent-gthumb { position: relative; width: 90px; height: 90px; border-radius: 8px; overflow: hidden; border: 1px solid #e6edf5; }
.equarent-gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equarent-gthumb__x { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba( 0, 0, 0, .6 ); color: #fff; cursor: pointer; line-height: 18px; padding: 0; font-size: 14px; }

/* Dashboard checklist */
.equarent-checklist { list-style: none; margin: 0; padding: 0; }
.equarent-checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; }
.equarent-checklist__mark { flex: 0 0 auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 13px; }
.equarent-checklist .is-done .equarent-checklist__mark { background: #e6f6ea; color: #1a7a38; }
.equarent-checklist .is-todo .equarent-checklist__mark { background: #fff3da; color: #8a6400; }
.equarent-checklist .is-done > span:last-child { color: #6a7585; }

/* Help / Settings / Upgrade */
.equarent-help-steps { margin: 0 0 0 18px; }
.equarent-help-steps li { margin: 0 0 8px; }
.equarent-kek-ok { color: #1a7a38; font-weight: 600; }
.equarent-pro-list { list-style: none; margin: 0 0 16px; padding: 0; }
.equarent-pro-list li { padding: 6px 0; font-size: 15px; color: var(--equarent-ink); }

/* Custom amenities */
.equarent-custom-amenities { margin-top: 18px; border-top: 1px solid #eef3f8; padding-top: 12px; }
.equarent-custom-list { list-style: none; margin: 0 0 12px; padding: 0; max-width: 560px; }
.equarent-custom-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.equarent-custom-list__rm { font-size: 13px; color: #8a1f11; white-space: nowrap; }

/* Settings tabs (EquaSign-style) */
.equarent-settings-title { font-size: 23px; font-weight: 800; color: var(--equarent-navy); margin: 8px 0 4px; }
.equarent-settings-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e6edf5; margin: 0 0 20px; }
.equarent-settings-tab { text-decoration: none; padding: 10px 16px; font-weight: 600; color: #4a5566; border-bottom: 2px solid transparent; margin-bottom: -2px; border-radius: 6px 6px 0 0; }
.equarent-settings-tab:hover { background: #f3f8fd; color: var(--equarent-navy); }
.equarent-settings-tab.is-active { color: var(--equarent-blue); border-bottom-color: var(--equarent-blue); }
.equarent-settings-body { max-width: var( --equarent-wide ); }

/* Email templates */
.equarent-tpl { border-top: 1px solid #eef3f8; padding-top: 12px; margin-top: 12px; }
.equarent-tpl:first-of-type { border-top: none; }

/* --- Toggles (prefer over checkboxes). Visually-hidden real checkbox → native
   submit, no JS. Scoped to EquaRent's own admin container. --- */
.equarent-admin .equarent-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #e6edf5; cursor: pointer; }
.equarent-admin .equarent-toggle-row:first-of-type { border-top: none; }
.equarent-admin .equarent-toggle-row .lbl { font-size: 13.5px; font-weight: 600; color: var(--equarent-ink); }
.equarent-admin .equarent-toggle-row .lbl small { display: block; font-size: 12px; color: #4a5566; font-weight: 400; margin-top: 3px; }
.equarent-admin .equarent-switch-wrap { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.equarent-admin .equarent-switch__cb { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.equarent-admin .equarent-switch { width: 42px; height: 24px; border-radius: 999px; background: #c6d2e0; position: relative; cursor: pointer; transition: background .18s; flex-shrink: 0; border: none; padding: 0; display: inline-block; }
.equarent-admin .equarent-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba( 0, 0, 0, .2 ); transition: left .18s; }
.equarent-admin .equarent-switch__cb:checked + .equarent-switch { background: var(--equarent-blue); }
.equarent-admin .equarent-switch__cb:checked + .equarent-switch::after { left: 21px; }
.equarent-admin .equarent-switch__cb:focus-visible + .equarent-switch { box-shadow: 0 0 0 3px rgba( 25, 129, 222, .25 ); }

/* --- EquaSuite admin bars (rendered in admin_notices, outside .equarent-admin):
   the local welcome/invitation bar (opt-in OFF) and the server content bar (opt-in ON). --- */
.equarent-welcomebar,
.equarent-contentbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 10px 20px 0 2px; padding: 7px 14px; border: 1px solid #dcdcde; border-left: 3px solid #1981DE; background: #f6f9fd; border-radius: 6px; font-size: 13px; }
.equarent-welcomebar__text { color: #0C3A66; }
.equarent-welcomebar__form { margin: 0; display: inline-flex; }
.equarent-welcomebar__yes,
.equarent-welcomebar__hide,
.equarent-contentbar__hide { cursor: pointer; font-size: 12px; line-height: 1.6; padding: 3px 12px; border-radius: 4px; border: 1px solid #c3c4c7; background: #fff; }
.equarent-welcomebar__yes { background: #1981DE; border-color: #1981DE; color: #fff; font-weight: 600; }
.equarent-welcomebar__hide,
.equarent-contentbar__hide { color: #50575e; margin-left: auto; text-decoration: none; }
.equarent-contentbar { display: block; }
.equarent-contentbar__hide { float: right; }

/* --- Accordions (native <details>, no JS): email templates + Help. --- */
.equarent-admin .equarent-acc { display: block; }
.equarent-admin .equarent-acc__item { border: 1px solid #e6edf5; border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.equarent-admin .equarent-acc__item[open] { box-shadow: 0 1px 3px rgba( 12, 58, 102, .07 ); }
.equarent-admin .equarent-acc__head { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #fafcfe; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--equarent-navy); user-select: none; }
.equarent-admin .equarent-acc__head::-webkit-details-marker { display: none; }
.equarent-admin .equarent-acc__head:hover { background: #f1f7fd; color: var(--equarent-blue); }
.equarent-admin .equarent-acc__title { display: inline-flex; flex-direction: column; gap: 2px; }
.equarent-admin .equarent-acc__sub { font-size: 12px; font-weight: 400; color: #4a5566; }
.equarent-admin .equarent-acc__chev { width: 18px; height: 18px; color: #8a95a5; flex-shrink: 0; transition: transform .18s ease; }
.equarent-admin .equarent-acc__item[open] .equarent-acc__chev { transform: rotate( 180deg ); }
.equarent-admin .equarent-acc__body { padding: 16px 18px; border-top: 1px solid #eef3f9; }
.equarent-admin .equarent-acc__body > p:first-child { margin-top: 0; }
.equarent-admin .equarent-acc__body .equarent-field:last-child { margin-bottom: 0; }

/* --- Pricing → Payment: comfortable-width mode select. --- */
.equarent-admin .equarent-pay { max-width: var( --equarent-wide ); }
.equarent-admin .equarent-pay > .equarent-field select { width: 100%; max-width: 360px; }

/* --- Reservations list pagination (fixed 20/page) ------------------------------------------- */
.equarent-admin .equarent-res-pagination { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.equarent-admin .equarent-res-pageinfo { font-size: 13px; color: #50575e; }

/* --- Stripe connection status (Payments + Pricing) ------------------------------------------ */
.equarent-admin .equarent-conn-ok { display: inline-flex; align-items: center; color: var( --equarent-ok ); vertical-align: middle; margin-left: 8px; }
.equarent-admin .equarent-conn-note { font-size: 13px; margin: 6px 0 14px; padding: 9px 12px; border-radius: 8px; line-height: 1.5; }
.equarent-admin .equarent-conn-note--ok { color: #11603a; background: #e8f6ef; border: 1px solid #bfe6d2; }
.equarent-admin .equarent-conn-note--off { color: #8a4b00; background: #fff4e5; border: 1px solid #f5d8a8; }

/* --- Per-language content (translations accordion on content fields) --- */
.equarent-admin .equarent-i18n { margin-top: 8px; border: 1px solid #e6edf5; border-radius: 8px; background: #fafcfe; max-width: 680px; }
.equarent-admin .equarent-i18n__summary { cursor: pointer; padding: 8px 12px; font-size: 12.5px; font-weight: 600; color: var(--equarent-blue); list-style: none; }
.equarent-admin .equarent-i18n__summary::-webkit-details-marker { display: none; }
.equarent-admin .equarent-i18n[open] .equarent-i18n__summary { border-bottom: 1px solid #e6edf5; }
.equarent-admin .equarent-i18n__grid { padding: 12px; display: grid; gap: 10px; }
.equarent-admin .equarent-i18n__row label { display: block; font-size: 11.5px; font-weight: 600; color: #4a5566; margin-bottom: 3px; }
.equarent-admin .equarent-i18n__row textarea,
.equarent-admin .equarent-i18n__row input[type="text"] { max-width: none; }

/* --- Help content prose (inside accordion bodies) --- */
.equarent-admin .equarent-acc__body.equarent-prose { line-height: 1.65; color: #2a3444; }
.equarent-admin .equarent-prose h2, .equarent-admin .equarent-prose h3 { color: var(--equarent-navy); margin: 16px 0 6px; font-size: 14px; }
.equarent-admin .equarent-prose h2:first-child, .equarent-admin .equarent-prose h3:first-child { margin-top: 0; }
.equarent-admin .equarent-prose p { margin: 0 0 10px; }
.equarent-admin .equarent-prose ul, .equarent-admin .equarent-prose ol { margin: 0 0 10px 22px; }
.equarent-admin .equarent-prose li { margin: 3px 0; }
.equarent-admin .equarent-prose code { background: #eef3f9; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
.equarent-admin .equarent-prose table { border-collapse: collapse; width: 100%; max-width: 820px; margin: 8px 0; }
.equarent-admin .equarent-prose th, .equarent-admin .equarent-prose td { border: 1px solid #e6edf5; padding: 8px 12px; text-align: left; vertical-align: top; font-size: 13px; }
.equarent-admin .equarent-prose th { background: #f4f8fd; color: var(--equarent-navy); }

/* ==========================================================================
   EquaSuite design-system alignment (match EquaShop/EquaSign admin).
   Appended last so it overrides the earlier EquaRent rules.
   ========================================================================== */
.equarent-admin {
	--equarent-blue-hover:    #156fc0;
	--equarent-border:        #e3e8ef;
	--equarent-border-strong: #cfd8e3;
	--equarent-surface:       #ffffff;
	--equarent-text-faint:    #8a99ab;
	--equarent-radius-sm:     9px;
	--equarent-ok:            #1a7f4b;
	--equarent-warn:          #e08a1e;
	--equarent-shadow:        0 1px 2px rgba( 12, 58, 102, .05 );
}

/* Full-width admin like EquaShop (content fills the screen, adapts down). */
.equarent-admin { --equarent-wide: 100%; }
/* Hints stay readable; descriptive muted text flows with the (full-width) card. */
.equarent-admin .equarent-hint { max-width: 860px; }

/* ---- Buttons: EquaShop pill-ish rounded, blue primary + shadow ---------- */
.equarent-admin .button,
.equarent-admin .button-primary,
.equarent-admin .button-secondary {
	font-size: 13.5px; font-weight: 600; line-height: 1.3; height: auto; min-height: 0;
	padding: 9px 16px; border-radius: var(--equarent-radius-sm); border: 1px solid var(--equarent-border-strong);
	display: inline-flex; align-items: center; gap: 7px; box-shadow: none;
	transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.equarent-admin .button:active { transform: translateY( 1px ); }
.equarent-admin .button:not(.button-primary):not(.button-hero) { background: var(--equarent-surface); color: var(--equarent-navy); }
.equarent-admin .button:not(.button-primary):not(.button-hero):hover { border-color: var(--equarent-blue); color: var(--equarent-blue); background: var(--equarent-surface); }
.equarent-admin .button-primary,
.equarent-admin .button-hero {
	background: var(--equarent-blue); border-color: var(--equarent-blue); color: #fff;
	box-shadow: 0 2px 8px rgba( 25, 129, 222, .28 ); text-shadow: none;
}
.equarent-admin .button-primary:hover,
.equarent-admin .button-hero:hover { background: var(--equarent-blue-hover); border-color: var(--equarent-blue-hover); color: #fff; }
.equarent-admin .button-hero { font-size: 14px; padding: 11px 22px; }
.equarent-admin .button-link { border: none; background: none; box-shadow: none; padding: 0; height: auto; color: var(--equarent-blue); }

/* ---- Selects: appearance-none, custom chevron, height aligned to inputs --- */
.equarent-admin select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	font-size: 13.5px; line-height: 1.4; height: auto; min-height: 0;
	padding: 9px 38px 9px 13px; border: 1px solid var(--equarent-border-strong); border-radius: var(--equarent-radius-sm);
	background-color: var(--equarent-surface); color: var(--equarent-ink); max-width: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center; background-size: 16px;
}
.equarent-admin select:focus { border-color: var(--equarent-blue); box-shadow: 0 0 0 3px rgba( 25, 129, 222, .13 ); outline: none; }

/* ---- Inputs/textarea: round corners to match the DS ---------------------- */
.equarent-admin input[type="text"],
.equarent-admin input[type="email"],
.equarent-admin input[type="url"],
.equarent-admin input[type="password"],
.equarent-admin input[type="search"],
.equarent-admin input[type="number"],
.equarent-admin textarea { border-radius: var(--equarent-radius-sm); border-color: var(--equarent-border-strong); }

/* ---- Form actions as a right-aligned cartouche (EquaShop formbar) --------- */
.equarent-admin .equarent-actions {
	display: flex; align-items: center; justify-content: flex-end; gap: 12px;
	max-width: none; margin: 20px 0 0; padding: 14px 20px;
	background: var(--equarent-surface); border: 1px solid var(--equarent-border);
	border-radius: var(--equarent-radius); box-shadow: var(--equarent-shadow);
	position: sticky; bottom: 16px;
}

/* ---- EquaSuite content banner: no double frame (content client paints its own card) - */
.equarent-contentbar { display: block; border: none; background: none; padding: 0; margin: 12px 20px 0 2px; position: relative; border-radius: 0; }
.equarent-contentbar__hide { position: absolute; top: 8px; right: 10px; margin: 0; }

/* Help: the feature-comparison lists. */
.equarent-admin .equarent-help-sub { margin: 16px 0 6px; }
.equarent-admin .equarent-featlist { margin: 4px 0 14px 22px; list-style: disc; }
.equarent-admin .equarent-featlist li { margin: 4px 0; }
.equarent-admin .equarent-pro-list { margin: 8px 0 14px 0; list-style: none; padding: 0; }
.equarent-admin .equarent-pro-list li { margin: 5px 0; }

/* --- Language pills (email templates; also reusable) --- */
.equarent-admin .equarent-langpills { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #eef2f7; border-radius: 999px; padding: 4px; margin: 14px 0 18px; }
.equarent-admin .equarent-langpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--equarent-text-faint); padding: 6px 14px; border-radius: 999px; text-decoration: none; border: none; background: none; cursor: pointer; line-height: 1.3; font-family: inherit; }
.equarent-admin .equarent-langpill:hover { color: var(--equarent-blue); }
.equarent-admin .equarent-langpill.is-active { background: #fff; color: var(--equarent-blue); box-shadow: 0 1px 3px rgba( 12, 58, 102, .12 ); }
.equarent-admin .equarent-langpill em { font-style: normal; color: var(--equarent-blue); }
.equarent-admin .equarent-langpill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--equarent-ok); }
.equarent-admin .equarent-langpill__dot.is-default { background: var(--equarent-warn); }
.equarent-admin textarea.equarent-code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12.5px; line-height: 1.5; }

/* --- Modal (email preview) --- */
.equarent-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.equarent-modal[hidden] { display: none; }
.equarent-modal__backdrop { position: absolute; inset: 0; background: rgba( 12, 58, 102, .45 ); }
.equarent-modal__dialog { position: relative; z-index: 1; width: 92vw; max-width: 680px; max-height: 86vh; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba( 12, 58, 102, .3 ); overflow: hidden; }
.equarent-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e6edf5; }
.equarent-modal__subject { color: var(--equarent-navy); font-size: 14px; }
.equarent-modal__close { font-size: 22px; line-height: 1; color: #6a7585; text-decoration: none; }
.equarent-modal__body { overflow: auto; padding: 0; background: #f3f8fd; }

/* --- Per-language content group (pills + panels) --- */
.equarent-admin .equarent-i18n-group { margin: 0 0 8px; }
.equarent-admin .equarent-lang-panel[hidden] { display: none; }
.equarent-admin .equarent-lang-panel { padding: 2px 0; }

/* --- Footer builder (admin) --- */
.equarent-admin .equarent-fcols { display: grid; grid-template-columns: repeat( auto-fill, minmax( 360px, 1fr ) ); gap: 16px; margin: 8px 0 14px; }
.equarent-admin .equarent-fcol { border: 1px solid var(--equarent-border); border-radius: 10px; background: #fafcfe; padding: 14px; }
.equarent-admin .equarent-fcol__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.equarent-admin .equarent-fcol__head input { flex: 1; }
.equarent-admin .equarent-fcol__rm { color: #b32d2e; }
.equarent-admin .equarent-fcol__items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.equarent-admin .equarent-fitem { border: 1px solid var(--equarent-border); border-radius: 8px; background: #fff; padding: 10px; }
.equarent-admin .equarent-fitem__row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.equarent-admin .equarent-fitem__row select { flex: 1; }
.equarent-admin .equarent-fitem__rm { margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--equarent-border); border-radius: 7px; background: #fff; color: #b32d2e; font-size: 16px; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s; }
.equarent-admin .equarent-fitem__rm:hover { background: #fdecea; border-color: #e7a59f; }
.equarent-admin .equarent-fitem__fields { display: flex; flex-direction: column; gap: 8px; }
.equarent-admin .equarent-fitem__fields input,
.equarent-admin .equarent-fitem__fields select { width: 100%; }
.equarent-admin .equarent-finline { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Footer builder drag handles. */
.equarent-admin .equarent-fitem__handle, .equarent-admin .equarent-fcol__handle { cursor: grab; color: #9aa7b6; font-size: 13px; line-height: 1; padding: 4px 6px; user-select: none; flex-shrink: 0; }
.equarent-admin .equarent-fcol__handle { margin-right: 4px; }
.equarent-admin .equarent-fitem.is-dragging, .equarent-admin .equarent-fcol.is-dragging { opacity: .45; }

/* Footer item: handle (top-left) + delete (top-right) on their own bar. */
.equarent-admin .equarent-fitem__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.equarent-admin .equarent-fitem__row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.equarent-admin .equarent-finline__round { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4a5566; }

/* --- Reviews admin: icon actions + settings pill + peek row --- */
.equarent-admin .equarent-rev-actions { display: inline-flex; align-items: center; gap: 6px; }
.equarent-admin .equarent-rev-actions form { display: inline; margin: 0; }
.equarent-admin .equarent-iconbtn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--equarent-border-strong); border-radius: 7px; background: #fff; cursor: pointer; color: #5b6b7f; transition: background .15s, border-color .15s, color .15s; padding: 0; }
.equarent-admin .equarent-iconbtn svg { width: 16px; height: 16px; }
.equarent-admin .equarent-iconbtn--ok:hover { color: #1a7f4b; border-color: #1a7f4b; background: #ecfaf2; }
.equarent-admin .equarent-iconbtn--no:hover { color: #b5483f; border-color: #e7a59f; background: #fdecea; }
.equarent-admin .equarent-iconbtn--del:hover { color: #6a7585; border-color: #c6d2e0; background: #f0f2f5; }
.equarent-admin .equarent-iconbtn--eye:hover { color: var(--equarent-blue); border-color: var(--equarent-blue); background: #eef4fb; }
.equarent-admin .equarent-res-filter--settings { margin-left: auto; background: var(--equarent-navy); color: #fff; border-radius: 999px; padding: 4px 14px; }
.equarent-admin .equarent-res-filter--settings:hover, .equarent-admin .equarent-res-filter--settings.is-active { background: var(--equarent-blue); color: #fff; }
.equarent-admin .equarent-rev-peek td { background: #f6f9fd; font-size: 13px; line-height: 1.6; }
