/*
 * RM Enquiry Manager: dark plum theme (v1.1.5)
 * Presentation only. No external fonts, images or requests (nothing here can leak a visitor's IP to a third party).
 * Colours are scoped under .rmeq-wrap and use !important where WordPress themes commonly force their own.
 * Brand plum #8b2680 on a black site; yellow is reserved for required-field stars and links.
 */
.rmeq-wrap{
	--rm-card-a:#241530;--rm-card-b:#1a0f20;--rm-field:#130a18;--rm-line:#5e2f58;--rm-line-hi:#e3a0dd;
	--rm-brand:#8b2680;--rm-brand-hi:#a8379a;--rm-brand-lo:#6f1d66;
	--rm-text:#ffffff;--rm-label:#efd9eb;--rm-muted:#cdb6ca;--rm-yellow:#ffc83d;
	max-width:640px;margin:1.5em auto;padding:22px 26px 24px;box-sizing:border-box;
	color:var(--rm-text)!important;color-scheme:dark;font-size:15px;line-height:1.4;
	background:linear-gradient(160deg,var(--rm-card-a) 0%,var(--rm-card-b) 100%)!important;
	border:1px solid rgba(168,55,154,.45)!important;border-radius:18px;
	box-shadow:0 12px 40px rgba(139,38,128,.28),0 0 0 1px rgba(0,0,0,.6);
	font-family:inherit;
}
.rmeq-wrap *{box-sizing:border-box}
.rmeq-wrap [hidden]{display:none!important}

/* Title (was white on a white card; now always readable) */
.rmeq-wrap .rmeq-title{margin:0 0 16px;padding:0 0 12px;color:#fff!important;font-size:22px;line-height:1.2;font-weight:700;letter-spacing:.2px;position:relative}
.rmeq-wrap .rmeq-title:after{content:"";position:absolute;left:0;bottom:0;width:56px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--rm-brand-hi),var(--rm-brand-lo))}

.rmeq-wrap .rmeq-form p{margin:0 0 10px;color:var(--rm-text)!important;font-size:inherit;line-height:1.4}
.rmeq-wrap .rmeq-form label{display:block;margin:0 0 4px;color:var(--rm-label)!important;font-size:13px;font-weight:600;letter-spacing:.2px;line-height:1.3;text-transform:none}
.rmeq-wrap .rmeq-req{color:var(--rm-yellow)!important;margin-left:2px}

/* Fields */
.rmeq-wrap .rmeq-form input[type=text],
.rmeq-wrap .rmeq-form input[type=email],
.rmeq-wrap .rmeq-form input[type=tel],
.rmeq-wrap .rmeq-form select,
.rmeq-wrap .rmeq-form textarea{
	display:block;width:100%;min-height:0;height:auto;margin:0;padding:9px 12px;
	font:inherit;font-size:15px;line-height:1.35;letter-spacing:normal;
	color:#fff!important;background:var(--rm-field)!important;
	border:1px solid var(--rm-line)!important;border-radius:10px;box-shadow:none;
	transition:border-color .15s ease,box-shadow .15s ease;
}
.rmeq-wrap .rmeq-form textarea{min-height:76px;resize:vertical}
.rmeq-wrap .rmeq-form select option{background:#1a0f20;color:#fff}
.rmeq-wrap .rmeq-form input:focus,
.rmeq-wrap .rmeq-form select:focus,
.rmeq-wrap .rmeq-form textarea:focus{outline:2px solid var(--rm-line-hi);outline-offset:1px;border-color:var(--rm-line-hi)!important}

.rmeq-wrap .rmeq-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media(max-width:560px){.rmeq-wrap{padding:18px 16px 20px;border-radius:14px}.rmeq-wrap .rmeq-row{grid-template-columns:1fr}}

/* Honeypot: must stay invisible and unreachable */
.rmeq-wrap .rmeq-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:0;overflow:hidden;opacity:0;pointer-events:none}

/* Check boxes */
.rmeq-wrap .rmeq-form .rmeq-check{margin:0 0 8px}
.rmeq-wrap .rmeq-form .rmeq-check label{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:14px;font-weight:400;line-height:1.45;color:var(--rm-text)!important}
.rmeq-wrap .rmeq-check input{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0;accent-color:var(--rm-brand-hi)}
.rmeq-wrap .rmeq-form .rmeq-hint{margin:0 0 8px;font-size:13px;line-height:1.45;color:var(--rm-muted)!important}
.rmeq-wrap .rmeq-guardian{padding:12px 14px 4px;margin:0 0 10px;background:rgba(19,10,24,.7)!important;border:1px dashed var(--rm-line);border-radius:12px}

/* Privacy notice: compact (about 3 lines) and scrollable, with scroll shadows as a cue */
.rmeq-wrap .rmeq-notice{
	max-height:78px;overflow-y:auto;overscroll-behavior:contain;margin:0 0 10px;padding:8px 12px;
	font-size:13px;line-height:1.5;color:#ecdfea!important;
	border-left:3px solid var(--rm-brand-hi);border-radius:10px;
	background-color:#150b1a;
	background-image:
		linear-gradient(#150b1a 30%,rgba(21,11,26,0)),
		linear-gradient(rgba(21,11,26,0),#150b1a 70%),
		radial-gradient(farthest-side at 50% 0,rgba(227,160,221,.35),rgba(227,160,221,0)),
		radial-gradient(farthest-side at 50% 100%,rgba(227,160,221,.35),rgba(227,160,221,0));
	background-repeat:no-repeat;background-position:center top,center bottom,center top,center bottom;
	background-size:100% 24px,100% 24px,100% 10px,100% 10px;background-attachment:local,local,scroll,scroll;
	scrollbar-width:thin;scrollbar-color:var(--rm-brand-hi) transparent;
}
.rmeq-wrap .rmeq-notice:focus-visible{outline:2px solid var(--rm-line-hi);outline-offset:2px}
.rmeq-wrap .rmeq-notice::-webkit-scrollbar{width:8px}
.rmeq-wrap .rmeq-notice::-webkit-scrollbar-track{background:transparent}
.rmeq-wrap .rmeq-notice::-webkit-scrollbar-thumb{background:var(--rm-brand-hi);border-radius:8px}
.rmeq-wrap .rmeq-notice p{margin:0 0 6px;font-size:13px;line-height:1.5;color:#ecdfea!important}
.rmeq-wrap .rmeq-notice a,.rmeq-wrap .rmeq-form a{color:var(--rm-yellow)!important;text-decoration:underline;text-underline-offset:2px}
.rmeq-wrap .rmeq-notice a:hover{text-decoration-thickness:2px}
.rmeq-wrap .rmeq-notice a:focus-visible{outline:2px solid var(--rm-line-hi);outline-offset:2px;border-radius:2px}

/* Security check */
.rmeq-wrap .rmeq-turnstile{min-height:65px;margin:6px 0 10px}
.rmeq-wrap .rmeq-cap-load{font-size:13px;color:var(--rm-muted)!important}

/* Submit */
.rmeq-wrap .rmeq-form p:has(>.rmeq-btn){margin:4px 0 0}
.rmeq-wrap .rmeq-btn{
	display:block;width:100%;margin:0;padding:13px 20px;cursor:pointer;
	font:inherit;font-size:15px;font-weight:700;letter-spacing:.8px;line-height:1.2;text-transform:uppercase;
	color:#fff!important;background:linear-gradient(135deg,var(--rm-brand-hi),var(--rm-brand-lo))!important;
	border:0!important;border-radius:12px;box-shadow:0 8px 22px rgba(139,38,128,.5);
	transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.rmeq-wrap .rmeq-btn:hover{filter:brightness(1.15);transform:translateY(-1px);box-shadow:0 10px 26px rgba(168,55,154,.55)}
.rmeq-wrap .rmeq-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.rmeq-wrap .rmeq-btn:disabled{opacity:.6;cursor:wait;transform:none;filter:none}

/* Messages */
.rmeq-wrap .rmeq-msg:empty{display:none}
.rmeq-wrap .rmeq-msg{margin-top:10px;padding:10px 14px;border-radius:10px;font-size:14px;line-height:1.4}
.rmeq-wrap .rmeq-msg.ok{background:rgba(34,197,94,.14)!important;color:#c3f7d3!important;border:1px solid rgba(34,197,94,.5)}
.rmeq-wrap .rmeq-msg.err{background:rgba(239,68,68,.14)!important;color:#ffd0d0!important;border:1px solid rgba(239,68,68,.55)}

@media(prefers-reduced-motion:reduce){.rmeq-wrap *{transition:none!important}.rmeq-wrap .rmeq-btn:hover{transform:none}}
