/* Round 5 (audit 23 Nov 2026): page-by-page design pass. Printed last (after zr-round4.css) by inc/zr-round5.php. */

/* ── Footer (every public page) ── */
/* logo: round 4 meant 28px white "GuestPosts.net." but zr-layout's `html body:not(#zl) .dk-foot span{font-size:14px}` and the muted
   footer text colour won, so it showed as a small grey word */
html body:not(#zl) .dk-foot .dk-logo--brand .dk-logo__t{font-size:28px;line-height:1;color:var(--zr-text,#0f172a)}
html body:not(#zl) .dk-foot .dk-logo--brand .dk-logo__t i{font-size:1em;color:var(--zr-lime,#1d4ed8)}
/* five columns, the Services column (now six links) a little wider */
.dk-foot__grid{grid-template-columns:1.4fr .7fr 1fr .7fr 1.3fr}
/* desktop: footer links were 36px tall + 9px gap = 45px rows (tap-target sizing meant for touch); keep 44px on touch/tablet */
@media (min-width:1025px) and (pointer:fine){
  html body.zr-dsk footer.dk-foot nav li a{min-height:28px!important}
  html body.zr-dsk footer.dk-foot nav ul{gap:6px}
}
/* copyright and legal links on one line (the links are taller boxes, the copyright sat at their top) */
.dk-foot__base{align-items:center}
/* social icons centred in their boxes on phones (the phone tap-target rule turned them into left-aligned inline-flex) */
html body:not(#zl) .dk-foot .dk-soc li a{justify-content:center;justify-items:center;min-width:36px}

/* ── Buttons: the v6 pages (how it works, packages, about, link insertion, legal) used pill buttons, the rest of the site 12px ── */
html body.zr-dsk .zv6 .btn{border-radius:12px}

/* ── Home / guest posting: pricing footnote is centred under the cards (it was a centred box with left text) ── */
.dk-note--c{text-align:center;margin-inline:auto}

/* ── Packages comparison table ── */
/* the "Popular" column body cells inherited the dark text meant for its lime header cell: "$249" was dark on dark green */
html body.zr-dsk .zv6 .tbl tbody .hl,html body.zr-dsk .zv6 .tbl tbody .hl *{color:var(--zr-text,#0f172a)!important}
/* equal plan columns (Basic was twice as wide as Power) */
@media (min-width:761px){.zv6 .tbl{table-layout:fixed;width:100%}.zv6 .tbl thead th:first-child{width:22%}}
/* phones: the caption was cut off and the Power column clipped; let the table scroll sideways inside its box */
.zv6 .tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.zv6 .tbl caption{white-space:normal;overflow-wrap:anywhere}
@media (max-width:760px){.zv6 .tbl{min-width:560px}.zv6 .tbl caption{position:sticky;left:0;max-width:calc(100vw - 32px)}}

/* ── Blog + 404: a near-white 1px line ran across the page under the hero ── */
html body .rblog-hero,html body .zr-state{border-bottom-color:var(--zr-border,rgba(15,23,42,0.076))!important}
/* "Stay updated" label: text sat on the edges of its tint with a dark bar in front; now a pill with a dot like "GuestPosts.net Blog" */
html body.zr-dsk .rblog-news .rblog-eyebrow{padding:4px 12px;border-radius:999px;gap:8px;align-items:center}
html body.zr-dsk .rblog-news .rblog-eyebrow::before{width:6px;height:6px;border-radius:50%;background:var(--zr-lime,#1d4ed8)!important}
/* last orange accents in the blog illustration -> brand lime */
html body .rblog-illu-badge i{background:var(--zr-lime-soft,rgba(29,78,216,0.14))!important;color:var(--zr-lime,#1d4ed8)!important}
html body .rblog-illu-plant .pot::before{background:var(--zr-lime,#1d4ed8)!important}

/* ── Product page: prices used a different green (#4ade80) from every other price on the site ── */
html body .zp-price .zsw-order__price,html body .zp-rel__price:not(.zp-rel__price--lock){color:var(--zr-lime,#1d4ed8)!important}

/* ── Legal pages: section headings were 40px hero-size inside body text ── */
html body.zr-dsk .prose h2{font-size:28px!important;line-height:1.25!important;margin-top:40px}
html body.zr-dsk .prose h3{font-size:20px!important;line-height:1.3!important}
@media (max-width:760px){html body.zr-dsk .prose h2{font-size:24px!important}}

/* ── Search page: the search field was a white box on the dark site ── */
html body .zr-search input[type=search]{background:var(--zr-surface,#feffff)!important;color:var(--zr-text,#f4f7fb)!important;border:1px solid var(--zr-border,rgba(15,23,42,0.076))!important;border-radius:12px!important}
html body .zr-search input[type=search]::placeholder{color:var(--zr-faint,#526074)}
.zr-empty__btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

/* ── Marketplace cards on phones: drop the redundant "NAME" caption above every site name ── */
@media (max-width:1023px){html body .mk-id__l{display:none!important}}

/* ── Admin (merchant) dashboard: brand logo instead of the old blue/black image ── */
.zr-mlogo{display:inline-flex;align-items:center;gap:8px;color:#0f172a;text-decoration:none}
.zr-mlogo__m{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffff;color:#1d4ed8;flex:none}
.zr-mlogo__m svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.zr-mlogo__t{font:800 24px/1 var(--zr-font-head,"Sora","Geist",ui-sans-serif,sans-serif);letter-spacing:-.03em;color:#0f172a}
.zr-mlogo__t i{font-style:normal;color:#1d4ed8}
.zr-mlogo--sm .zr-mlogo__m{width:30px;height:30px;border-radius:9px}
.zr-mlogo--sm .zr-mlogo__m svg{width:19px;height:19px}
.zr-mlogo--sm .zr-mlogo__t{font-size:20px}
/* footer logo arrow lime like the header (it inherited the muted footer colour) */
html body:not(#zl) .dk-foot .dk-logo--brand .dk-logo__m{color:var(--zr-lime,#1d4ed8)}
/* the merchant sidebar uppercases its logo area */
.zr-mlogo,.zr-mlogo *{text-transform:none!important;letter-spacing:-.03em}
/* customer billing address: the country/state pickers were 32px tall next to 48px fields */
html body .zr-addr .select2-container .select2-selection--single{height:50px!important;display:flex!important;align-items:center;border-radius:10px!important}
html body .zr-addr .select2-container .select2-selection--single .select2-selection__rendered{line-height:normal!important;padding-left:20px!important}
html body .zr-addr .select2-container .select2-selection--single .select2-selection__arrow{height:48px!important;right:10px!important}

/* ── [2026-11-24] Place new order (/dashboard/create_order/, dark dashboard): when scrolling, the sticky filter panel
   (#co-sticky-head) and the sticky table header had see-through backgrounds (15% blue / 4% white), so the site rows
   scrolled visibly underneath them and the header row sat on top of the rows. Solid backgrounds, same colours. ── */
@media (min-width:992px){
  html body.zr-dk #create-order-websites-browser-wrap > #co-sticky-head{background:var(--zr-bg,#ffffff)!important;box-shadow:0 10px 18px -14px rgba(15,23,42,0.315)}
  html body.zr-dk #create-order-websites-browser-wrap > #co-sticky-head > *{background-color:#fefeff}
  /* zr-cust.css tints every dark dashboard table header with `...thead th:not(#zr-t)` (ID weight); outrank it */
  html body.zr-dk.zr-dk:not(.zr-mc) .zetlink-create-order.co-sticky-ready .create-order-websites-table thead th:not(#zr-t):not(#zr-u){background-color:#fefefe!important;box-shadow:0 1px 0 var(--zr-border,rgba(255,255,255,0.09))!important}
}

/* ── [2026-11-24] Merchant order page (/dashboard/orders/?show=single): ── */
/* status badges (Guest Post, Not generated yet, Marketplace, Visible to customer): text centred in the pill */
html body.zr-ml[data-zrp="orders"] span.badge{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;line-height:1.2!important;vertical-align:middle;white-space:nowrap}
html body.zr-ml[data-zrp="orders"] span.badge > i{margin:0!important;line-height:1}
/* thank-you signature header: the "Visible to customer" pill and the Edit button side by side at the same height */
html body.zr-ml .d-flex:has(> #zt-mp-sig-edit-btn) > span.badge{min-height:34px!important;padding:0 14px!important;font-size:12.5px!important}
html body.zr-ml #zt-mp-sig-edit-btn{min-height:34px!important;display:inline-flex!important;align-items:center;gap:5px;padding:0 12px!important}
/* "Publisher email conversation" and "Activity log": link-style buttons (p-0) that the dashboard draws with a border, so the
   text touched the edges. Proper small outline buttons. */
html body.zr-ml .mo-card .ob-pub-thread-toggle.btn,html body.zr-ml .mo-card .btn[data-bs-target="#ob-pub-activity-log"],
html body.zr-ml .ob-pub-thread-toggle.btn,html body.zr-ml .btn[data-bs-target="#ob-pub-activity-log"]{display:inline-flex!important;align-items:center;gap:6px;min-height:38px!important;padding:0 14px!important;border:1px solid #d5ddd9!important;border-radius:10px!important;background:#ffffff!important;color:#13202a!important;font-size:13px!important;line-height:1!important}
html body.zr-ml .ob-pub-thread-toggle.btn:hover,html body.zr-ml .btn[data-bs-target="#ob-pub-activity-log"]:hover{border-color:#0b7a5c!important;color:#0b7a5c!important}
html body.zr-ml .ob-pub-thread-toggle.btn i,html body.zr-ml .btn[data-bs-target="#ob-pub-activity-log"] i{margin:0!important;font-size:15px}

/* ── [2026-11-24] Order chat composer (order page, staff + customer): the textarea got a second border/white box from the
   global form-control rule inside the rounded pill, showed scrollbar arrows, and the send button was a squashed 38×44 oval ── */
html body .input-group:has(> #ob-chat-input){flex-wrap:nowrap!important;gap:6px;padding:4px 4px 4px 6px!important;min-height:48px}
html body #ob-chat-input#ob-chat-input{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;min-height:40px!important;max-height:120px;padding:10px 6px!important;line-height:20px!important;resize:none!important;overflow-y:auto;scrollbar-width:none}
html body #ob-chat-input#ob-chat-input::-webkit-scrollbar{display:none}
html body #ob-chat-input#ob-chat-input:focus{outline:none!important;box-shadow:none!important}
html body .input-group:has(> #ob-chat-input):focus-within{border-color:#0b7a5c!important;box-shadow:0 0 0 3px rgba(11,122,92,0.12)!important}
html body .input-group:has(> #ob-chat-input) > .btn.rounded-circle{flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%!important;margin:0!important}
html body.zr-dk .input-group:has(> #ob-chat-input):focus-within{border-color:var(--zr-lime,#1d4ed8)!important;box-shadow:0 0 0 3px rgba(29,78,216,0.07)!important}
