/*
 * The CRM's visual language on the pages clients see (approved by Naor 06.11.2026; GS_CRM_Client_Theme). Scoped to
 * body.gs-client-theme. The theme's demo header, footer and page title give way to a GalyamStudio bar, and each
 * client tool's own tokens are re-pointed to the CRM's. The quote document itself (its cover, sections and the
 * agreement's own brand) is left as it is: only the bar above it and the signing card change.
 */

body.gs-client-theme { background: var(--gs-soft); font-family: var(--gs-font); }
.gs-client-theme .wp-site-blocks > header.wp-block-template-part,
.gs-client-theme .wp-site-blocks > footer.wp-block-template-part,
.gs-client-theme .wp-block-post-title { display: none; }
.gs-client-theme .wp-site-blocks { padding-top: 0; }
.gs-client-theme main.wp-block-group { margin-top: 0 !important; padding-top: 32px; padding-bottom: 48px; }

/* the GalyamStudio bar and footer line */
.gs-cbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 0 24px;
	background: var(--gs-white); border-bottom: 1px solid var(--gs-border); font-family: var(--gs-font); direction: rtl;
}
.gs-cbar__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gs-navy); font-weight: 800; font-size: 18px; text-decoration: none; }
.gs-cbar__brand img { width: 34px; height: 34px; }
.gs-cbar__note { color: var(--gs-muted-on-soft); font-size: 13px; }
.gs-cfoot { padding: 24px; text-align: center; color: var(--gs-muted-on-soft); font-family: var(--gs-font); font-size: 13px; direction: rtl; }

/* Keren's brief (#gsi-brief, a full-screen layer of its own) */
.gs-client-theme #gsi-brief { --ink: #122044; --muted: #5f6b82; --line: #d8e2ef; --accent: #1554db; background: var(--gs-soft); font-family: var(--gs-font); }
.gs-client-theme #gsi-brief button { background: var(--gs-blue); border-radius: 12px; }
.gs-client-theme #gsi-brief button:hover { background: var(--gs-blue-hover); }
.gs-client-theme #gsi-brief .gsi-top { background: var(--gs-white); border-bottom-color: var(--gs-border); }
.gs-client-theme #gsi-brief .gsi-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--gs-navy); font-family: var(--gs-font); font-weight: 800; }
.gs-client-theme #gsi-brief .gsi-logo::before { content: ''; width: 30px; height: 30px; flex: none; background: url(../img/auth/brand-mark.png) center / contain no-repeat; }
.gs-client-theme #gsi-brief input { border-radius: 12px; border-color: var(--gs-border); background: var(--gs-white); }
.gs-client-theme #gsi-brief input:focus, .gs-client-theme #gsi-brief input:focus-visible { outline: 3px solid rgba(21, 84, 219, .35); outline-offset: 1px; border-color: var(--gs-blue); box-shadow: none; }
.gs-client-theme #gsi-brief h1, .gs-client-theme #gsi-brief h2 { font-family: var(--gs-font); font-weight: 800; color: var(--gs-navy); }

/* Rony's questionnaire: already Heebo and navy; the gold accent becomes the CRM blue */
.gs-client-theme #gs-rony-questionnaire { --gold: #5ea0ff; --navy-mid: #1554db; --line: #d8e2ef; --soft: #f4f7fd; --muted: #5f6b82; }

/* the signing page: only the bar above the document and the signing card */
.gs-client-theme #gsq-app { background: var(--gs-soft); }
.gs-client-theme #gsq-app .gsq-top { --blue: #1554db; border-bottom: 1px solid var(--gs-border); min-height: 72px; font-family: var(--gs-font); }
.gs-client-theme #gsq-app .gsq-card { --blue: #1554db; --ink: #122044; --muted: #5f6b82; font-family: var(--gs-font); border-radius: 19px; border: 1px solid var(--gs-border); box-shadow: 0 9px 12px rgba(19, 42, 85, .06); }
.gs-client-theme #gsq-app .gsq-card input, .gs-client-theme #gsq-app .gsq-card .gsq-pad { border-radius: 12px; border-color: var(--gs-border); }
.gs-client-theme #gsq-app .gsq-primary { background: var(--gs-blue); border-color: var(--gs-blue); border-radius: 12px; font-family: var(--gs-font); }

/* a link that is not valid (/sign/ without its code) */
.gs-client-theme #gsq-app > p:only-child { max-width: 560px; margin: 24px auto; padding: 28px; background: var(--gs-white); border: 1px solid var(--gs-border); border-radius: 19px; box-shadow: 0 9px 12px rgba(19, 42, 85, .06); text-align: center; color: var(--gs-ink); }
