/* Rockit Forms - front. Colors follow the Rockit theme when it is active (--rt-*), otherwise neutral defaults. */
.rf-form{
	--rf-accent:var(--rt-primary,#111);
	--rf-accent-hover:var(--rt-primary-hover,#333);
	--rf-on-accent:var(--rt-on-primary,#fff);
	--rf-text:var(--rt-heading,#111);
	--rf-body:var(--rt-text,#333);
	--rf-muted:var(--rt-muted,#666);
	--rf-border:var(--rt-border,#d9dcdf);
	--rf-bg:var(--rt-surface,#fff);
	--rf-radius:6px;
	--rf-error:#c81e1e;
	position:relative;display:flex;flex-direction:column;gap:16px;color:var(--rf-body)
}
.rf-form.rf-boxed{padding:28px;background:var(--rf-bg);border-radius:var(--rt-radius,10px);box-shadow:0 6px 24px rgba(0,0,0,.08)}
@media (max-width:640px){.rf-form.rf-boxed{padding:18px}}
.rf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.rf-grid>*{grid-column:1/-1;min-width:0}
.rf-grid>.rf-field--half{grid-column:auto}
@media (max-width:640px){.rf-grid{grid-template-columns:1fr}.rf-grid>.rf-field--half{grid-column:1/-1}}
.rf-field{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;min-width:0}
.rf-field>label,.rf-field>legend{font-size:14px;font-weight:700;color:var(--rf-text)}
.rf-field>legend{margin-bottom:8px;padding:0}
.rf-req{color:var(--rf-error);font-weight:700}
.rf-field input:not([type=checkbox]):not([type=radio]),.rf-field select,.rf-field textarea{
	width:100%;box-sizing:border-box;margin:0;padding:11px 12px;border:1px solid var(--rf-border);border-radius:var(--rf-radius);
	background:var(--rf-bg);font:inherit;font-size:15px;font-weight:400;color:var(--rf-text);transition:border-color .15s,box-shadow .15s
}
.rf-field textarea{resize:vertical;min-height:90px}
.rf-field input:focus,.rf-field select:focus,.rf-field textarea:focus{outline:0;border-color:var(--rf-text);box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.rf-help{font-size:13px;color:var(--rf-muted)}
.rf-field--error input:not([type=checkbox]):not([type=radio]),.rf-field--error select,.rf-field--error textarea{border-color:var(--rf-error)}
.rf-field--error>label,.rf-field--error>legend,.rf-field--error .rf-choice span{color:var(--rf-error)}
.rf-choices{display:flex;flex-wrap:wrap;gap:8px 18px}
.rf-choice{display:inline-flex;align-items:flex-start;gap:8px;font-size:15px;font-weight:400;color:var(--rf-body);cursor:pointer}
.rf-choice input{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0;accent-color:var(--rf-accent)}
.rf-field>label.rf-choice{font-size:15px;font-weight:400;color:var(--rf-body)}
.rf-field>label.rf-choice--consent{font-size:13px;color:var(--rf-muted)}
.rf-choice--consent a{color:inherit;text-decoration:underline}
.rf-h{margin:10px 0 0;padding-top:16px;border-top:1px solid var(--rf-border);font-size:18px;font-weight:800;color:var(--rf-text)}
.rf-grid>.rf-h:first-child{margin-top:0;padding-top:0;border-top:0}
.rf-html{font-size:15px}
.rf-html>:first-child{margin-top:0}.rf-html>:last-child{margin-bottom:0}
.rf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.rf-actions{display:flex}
.rf-submit{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;
	padding:var(--rt-btn-pad,14px 28px);border:0;border-radius:var(--rt-btn-radius,6px);
	background:var(--rf-btn-bg,var(--rf-accent));color:var(--rf-btn-c,var(--rf-on-accent));font:inherit;font-family:var(--rt-font-button,inherit);font-size:var(--rt-btn-size,16px);font-weight:var(--rt-btn-weight,700);line-height:1.15;
	text-transform:var(--rt-btn-transform,none);letter-spacing:var(--rt-btn-spacing,0);cursor:pointer;transition:background .15s,transform .15s
}
.rf-submit:hover,.rf-submit:focus-visible{background:var(--rf-btn-bg-h,var(--rf-accent-hover));color:var(--rf-btn-c-h,var(--rf-on-accent));transform:translateY(var(--rt-btn-lift,0))}
/* Guard: themes that paint every button on hover/focus (Hello Elementor: #c36) must not repaint the submit button */
button.rf-submit:focus:not(:focus-visible){background:var(--rf-btn-bg,var(--rf-accent));color:var(--rf-btn-c,var(--rf-on-accent))}
button.rf-submit:is(:hover,:focus-visible){background:var(--rf-btn-bg-h,var(--rf-accent-hover));color:var(--rf-btn-c-h,var(--rf-on-accent))}
.rf-submit:focus-visible{outline:3px solid var(--rf-text);outline-offset:2px}
.rf-submit:disabled{opacity:.6;cursor:wait;transform:none}
.rf-msg{margin:0;padding:12px 14px;border-radius:var(--rf-radius,6px);font-size:15px}
.rf-msg[hidden]{display:none}
.rf-msg.is-ok{background:#e8f9ee;color:#0a5c1f}
.rf-msg.is-error{background:#fdecec;color:#9b1c1c}
.rf-sent>:not(.rf-msg){display:none!important}
.rf-busy{opacity:.85}
/* Theme resets (Hello: button{display:inline-block}) must not show hidden form parts */
.rf-form [hidden],.rf-form[hidden]{display:none!important}
/* File upload: the real file input covers the drop area (click or drag a file onto it) */
.rf-file{position:relative;display:flex;align-items:center;justify-content:center;min-height:84px;padding:14px;border:1.5px dashed var(--rf-border);border-radius:var(--rf-radius);background:var(--rf-bg);text-align:center;transition:border-color .15s,background .15s}
.rf-file:hover,.rf-file.is-over,.rf-file:focus-within{border-color:var(--rf-accent);background:color-mix(in srgb,var(--rf-accent) 6%,var(--rf-bg))}
.rf-field .rf-file input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.rf-file:focus-within{box-shadow:0 0 0 3px rgba(0,0,0,.08)}
.rf-file__ui{display:flex;align-items:center;gap:10px;color:var(--rf-text);font-size:15px;font-weight:700;pointer-events:none}
.rf-file__ui svg{flex:0 0 auto;color:var(--rf-accent)}
.rf-file__text span{font-weight:400;color:var(--rf-muted)}
.rf-file__list{display:flex;flex-direction:column;gap:4px;margin:2px 0 0;padding:0;list-style:none;font-size:14px;color:var(--rf-text)}
.rf-file__list li{padding:6px 10px;border-radius:var(--rf-radius);background:color-mix(in srgb,var(--rf-accent) 8%,transparent)}
.rf-field--error .rf-file{border-color:var(--rf-error)}
.rf-captcha-note{margin:-4px 0 0;font-size:12px;color:var(--rf-muted)}
.rf-captcha-note a{color:inherit}
.grecaptcha-badge{visibility:hidden}

/* 0.2.2: every single-line field the same height (measured: text 48, select 44, date 50 px in the same form) */
.rf-field input:not([type=checkbox]):not([type=radio]):not([type=file]),.rf-field select{height:48px;line-height:24px}
.rf-field select{padding-top:0;padding-bottom:0}
.rf-field input[type=date]{padding-top:0;padding-bottom:0}
