/* IT Contact & Booking Form — styled to mimic the default Gravity Forms theme.
   Scoped under .icb-form so it won't fight your site's other styles.
   Tunable tokens up top — change these to fine-tune against a screenshot. */
.icb-form {
	--icb-text: #1a1a1a;          /* GF label/input text */
	--icb-desc: #6b7280;          /* GF description gray */
	--icb-border: #686868;        /* GF's signature input border */
	--icb-focus: #204ce5;         /* focus / accent blue */
	--icb-required: #cc0000;      /* required asterisk */
	--icb-btn-bg: #204ce5;        /* submit button */
	--icb-btn-bg-hover: #1a3fc0;
	--icb-radius: 3px;

	max-width: 100%;
	margin: 0;
	color: var(--icb-text);
	font-size: 1rem;
	line-height: 1.5;
}

/* ---- Field rows (mimics .gfield) ---- */
.icb-form .icb-field {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

/* ---- Labels (mimics .gfield_label) ---- */
.icb-form label,
.icb-form legend {
	display: block;
	font-weight: 700;
	font-size: 0.9375rem;       /* ~15px, GF-ish */
	color: var(--icb-text);
	margin: 0 0 0.5rem;
	padding: 0;
}

.icb-form .icb-req {
	color: var(--icb-required);
	margin-left: 2px;
	font-weight: 400;
}

/* ---- Inputs (mimics .gfield input/select/textarea) ---- */
.icb-form input[type="email"],
.icb-form input[type="text"],
.icb-form input[type="tel"],
.icb-form input[type="url"],
.icb-form input[type="date"],
.icb-form select,
.icb-form textarea {
	width: 100%;
	padding: 0.5rem 0.625rem;
	border: 1px solid var(--icb-border);
	border-radius: var(--icb-radius);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--icb-text);
	background: #fff;
	box-sizing: border-box;
	font-family: inherit;
}

.icb-form textarea {
	min-height: 120px;
	resize: vertical;
}

.icb-form input:focus,
.icb-form select:focus,
.icb-form textarea:focus {
	outline: none;
	border-color: var(--icb-focus);
	box-shadow: 0 0 0 2px rgba( 32, 76, 229, 0.2 );
}

.icb-form select:disabled {
	background: #f4f4f5;
	color: #9ca3af;
	cursor: not-allowed;
}

/* ---- Description / hint text (mimics .gfield_description) ---- */
.icb-form .icb-hint {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.8125rem;       /* ~13px */
	color: var(--icb-desc);
	line-height: 1.4;
}

/* ---- Checkbox group (mimics .gfield_checkbox) ---- */
.icb-form .icb-services {
	margin: 0 0 1.5rem;
	padding: 0;
}

.icb-form .icb-services legend {
	margin-bottom: 0.625rem;
}

.icb-form .icb-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	font-size: 1rem;
	color: var(--icb-text);
	margin: 0 0 0.5rem;
	cursor: pointer;
}

.icb-form .icb-checkbox input[type="checkbox"] {
	margin: 0.2rem 0 0;
	width: auto;
	flex: 0 0 auto;
	accent-color: var(--icb-focus);
}

/* ---- Submit button ----
   !important + a scoped selector so the theme's button styling (gradients,
   pill shapes, shadows) can't take over. Flat, rectangular, normal. */
.icb-form button.icb-submit {
	display: inline-block !important;
	width: auto !important;
	background: var(--icb-btn-bg) !important;
	background-image: none !important;   /* kill theme gradient */
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--icb-radius) !important;  /* 3px = normal, not a pill */
	padding: 0.75rem 1.75rem !important;
	margin: 0 !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	text-transform: none !important;     /* not ALL CAPS */
	letter-spacing: normal !important;
	box-shadow: none !important;         /* kill theme shadow/glow */
	text-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.icb-form button.icb-submit:hover {
	background: var(--icb-btn-bg-hover) !important;
	background-image: none !important;
}

.icb-form button.icb-submit:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed;
}

/* ---- Confirmation / error messages (mimics .gform_confirmation_message
   and .validation_error) ---- */
.icb-form .icb-message {
	padding: 0.875rem 1rem;
	border-radius: var(--icb-radius);
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.icb-form .icb-message.icb-error {
	background: #fbeaea;
	color: #790000;
	border: 1px solid #c89797;
}

.icb-form .icb-message.icb-ok {
	background: #e9f6ec;
	color: #15803d;
	border: 1px solid #a7d7b5;
}

/* ---- Success action links (Join Meet / Add to calendar) ---- */
.icb-form .icb-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.icb-form a.icb-meet-btn {
	display: inline-block;
	background: #1a73e8 !important;     /* Google blue */
	color: #fff !important;
	text-decoration: none !important;
	padding: 0.5rem 1.1rem;
	border-radius: var(--icb-radius);
	font-weight: 600;
	font-size: 0.95rem;
}

.icb-form a.icb-meet-btn:hover {
	background: #155ab6 !important;
}

.icb-form a.icb-cal-link {
	color: #15803d;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: underline;
}

/* ---- Honeypot: hidden from humans, off-screen (not display:none so bots
   still fill it) ---- */
.icb-form .icb-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
