/* ============================================================
   Gold layer for two shared form screens, without editing the theme:
   1. the jeweller registration wizard on /gold/for-jewellers/
      (theme forms.css .sr-* and join-provider.css .jp-*);
   2. /login/ and /forgot/ opened from the gold section
      (body.egd-auth, theme auth.css .lg-*).
   ============================================================ */

/* ---------- 1. Registration wizard ---------- */
.uaec-ds .egd-wiz {
	--accent: #7e5d1a;
	--accent-hover: #664a12;
	--accent-soft: #fdf9ee;
	--accent-ring: rgba(193, 148, 55, .35);
	--shadow-accent: 0 8px 22px rgba(161, 122, 39, .22);
	margin: 0;
	border-color: #ecdfbf;
	box-shadow: 0 30px 60px -40px rgba(59, 42, 7, .4);
}
.uaec-ds .egd-wiz .sr-card__head { background: linear-gradient(180deg, #fffdf7, #fff); }
.uaec-ds .egd-wiz .sr-step__title { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.uaec-ds .egd-wiz .sr-step__desc { margin: 6px 0 0; }
.uaec-ds .egd-wiz .sr-step__head { margin-bottom: 20px; }
.uaec-ds .egd-wiz .sr-input:focus,
.uaec-ds .egd-wiz .sr-select:focus { border-color: #c19437; box-shadow: 0 0 0 4px rgba(193, 148, 55, .18); }
.uaec-ds .egd-wiz .sr-btn--primary { background: #7e5d1a; border-color: #7e5d1a; color: #fff; }
.uaec-ds .egd-wiz .sr-btn--primary:hover { background: #664a12; border-color: #664a12; }
.uaec-ds .egd-wiz .sr-check__t a { color: #7e5d1a; font-weight: 600; text-decoration: underline; }
.uaec-ds .egd-wiz .sr-check input:checked + .sr-check__box { background: #7e5d1a; border-color: #7e5d1a; }
.uaec-ds .egd-wiz .egd-claimed { margin: 0 0 6px; }
.uaec-ds .egd-wiz .jp-flash { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.uaec-ds .egd-wiz .jp-flash--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.uaec-ds .egd-wiz .jp-flash--success { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.uaec-ds .egd-wiz .sr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uaec-ds .egd-wiz .egw-checkerr { margin-left: 33px; }
.uaec-ds .egd-wiz [hidden] { display: none !important; }

/* Field rhythm (owner 14.11.2026): label 8px above the input, help and error 7px under it,
   20px between field groups, also between a two-column row and the field after it (the theme
   leaves that gap to the first child's margin, so a taller second column could close it). */
.uaec-ds .egd-wiz .sr-grid-2 { column-gap: 18px; row-gap: 20px; align-items: start; margin-bottom: 20px; }
.uaec-ds .egd-wiz .sr-grid-2 > .sr-field { margin-bottom: 0; min-width: 0; }
.uaec-ds .egd-wiz .sr-step > .sr-grid-2:last-child { margin-bottom: 0; }
.uaec-ds .egd-wiz .sr-label { margin-bottom: 8px; line-height: 1.3; }
.uaec-ds .egd-wiz .sr-help + .sr-error { margin-top: 5px; }
.uaec-ds .egd-wiz .sr-error { align-items: flex-start; line-height: 1.45; }
.uaec-ds .egd-wiz .sr-error svg { margin-top: 1px; }

/* ---------- 2. Sign-in pages opened from the gold section ---------- */
body.egd-auth { background: #faf7f0; }
body.egd-auth .uaec-ds.lg {
	--accent: #7e5d1a;
	--accent-hover: #664a12;
	--accent-soft: #fdf9ee;
	--accent-ring: rgba(193, 148, 55, .35);
	--shadow-accent: 0 8px 22px rgba(161, 122, 39, .22);
	background:
		radial-gradient(760px 380px at 92% -10%, rgba(230, 199, 127, .22), transparent 66%),
		radial-gradient(680px 420px at -8% 108%, rgba(193, 148, 55, .10), transparent 62%),
		#faf7f0;
}
/* The left panel becomes paper and gold instead of navy. */
body.egd-auth .uaec-ds .lg-brand {
	color: #2b2210;
	background: linear-gradient(180deg, #fffefb 0%, #f7f1e2 100%);
	border: 1px solid #ecdfbf;
	box-shadow: 0 30px 60px -40px rgba(59, 42, 7, .4);
}
body.egd-auth .uaec-ds .lg-brand::before { background: radial-gradient(460px 240px at 100% -8%, rgba(230, 199, 127, .45), transparent 62%); }
body.egd-auth .uaec-ds .lg-brand::after { opacity: .5; background-image: repeating-linear-gradient(135deg, rgba(193, 148, 55, .07) 0 1px, transparent 1px 22px); -webkit-mask-image: none; mask-image: none; }
body.egd-auth .uaec-ds .lg-brand__eyebrow { color: #a17a27; }
body.egd-auth .uaec-ds .lg-brand__eyebrow::before { background: #c19437; }
body.egd-auth .uaec-ds .lg-brand__title { color: #1f1808; }
body.egd-auth .uaec-ds .lg-brand__sub { color: #5b5240; }
body.egd-auth .uaec-ds .lg-bullets li { color: #3b2f17; }
body.egd-auth .uaec-ds .lg-bullets__ic { background: #fdf3d6; border-color: #e6c77f; color: #7e5d1a; }
body.egd-auth .uaec-ds .lg-secondary { display: none; }
body.egd-auth .uaec-ds .lg-card { border-color: #ecdfbf; box-shadow: 0 30px 60px -40px rgba(59, 42, 7, .4); }
body.egd-auth .uaec-ds .lg-card::before { background: linear-gradient(90deg, #e6c77f, #c19437, #a17a27); }
body.egd-auth .uaec-ds .lg-mark__eyebrow { color: #a17a27; }
body.egd-auth .uaec-ds .sr-btn--primary { background: #7e5d1a; border-color: #7e5d1a; color: #fff; }
body.egd-auth .uaec-ds .sr-btn--primary:hover { background: #664a12; border-color: #664a12; }
body.egd-auth .uaec-ds .sr-input:focus { border-color: #c19437; box-shadow: 0 0 0 4px rgba(193, 148, 55, .18); }
body.egd-auth .uaec-ds .lg-forgot,
body.egd-auth .uaec-ds .lg-hint a,
body.egd-auth .uaec-ds .lg-back { color: #7e5d1a; }
body.egd-auth .uaec-ds .lg-remember input:checked + .lg-remember__box { background: #7e5d1a; border-color: #7e5d1a; }
body.egd-auth .uaec-ds .lg-badge,
body.egd-auth .uaec-ds .lg-success__badge { background: #fdf3d6; color: #7e5d1a; border-color: #e6c77f; }

/* Gold dashboard preview on the sign-in panel (14.11.2026): the theme's card, light and gold. */
body.egd-auth .uaec-ds .lg-preview__card { background: #fff; border: 1px solid #ecdfbf; box-shadow: 0 30px 60px -40px rgba(59, 42, 7, .45); }
body.egd-auth .uaec-ds .lg-preview__bar { background: #fbf6e8; border-bottom: 1px solid #f0e5c8; }
body.egd-auth .uaec-ds .lg-preview__dot { background: #e6c77f; }
body.egd-auth .uaec-ds .lg-preview__bartxt { color: #7e5d1a; }
body.egd-auth .uaec-ds .lg-preview__eyebrow { color: #a17a27; }
body.egd-auth .uaec-ds .lg-preview__row { background: linear-gradient(90deg, #e6c77f 0 62%, #f3ead2 62%); }
body.egd-auth .uaec-ds .lg-preview__row--short { background: linear-gradient(90deg, #c19437 0 40%, #f3ead2 40%); }
body.egd-auth .uaec-ds .lg-preview__status { color: #5b5240; }
body.egd-auth .uaec-ds .lg-offer { background: #fdf9ee; border-color: #f0e5c8; }
body.egd-auth .uaec-ds .lg-offer__logo { background: linear-gradient(135deg, #e6c77f, #a17a27); color: #fff; }
body.egd-auth .uaec-ds .lg-offer__t { color: #1f1808; }
body.egd-auth .uaec-ds .lg-offer__row { background: #efe3c2; }
