/* GitaKart Seva UI Fix 1.2.0
 * Contrast fix for service-page CTAs and booking-form controls.
 */
body a,
body button,
body input,
body select,
body textarea {
	text-decoration-thickness: 1px;
}

/* Force foreground on the element AND every nested label/span/icon.
 * This is important because the service form wraps its submit label. */
body .gk-seva-force-dark-text,
body .gk-seva-force-dark-text *,
body a.gk-seva-force-dark-text,
body button.gk-seva-force-dark-text,
body input.gk-seva-force-dark-text,
body select.gk-seva-force-dark-text,
body textarea.gk-seva-force-dark-text {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body .gk-seva-force-light-text,
body .gk-seva-force-light-text *,
body a.gk-seva-force-light-text,
body button.gk-seva-force-light-text,
body input.gk-seva-force-light-text,
body select.gk-seva-force-light-text,
body textarea.gk-seva-force-light-text {
	color: #171717 !important;
	-webkit-text-fill-color: #171717 !important;
}

/* Booking forms commonly use a white submit pill inside the dark card. */
body .gk-seva-dark-surface a,
body .gk-seva-dark-surface button,
body .gk-seva-dark-surface input,
body .gk-seva-dark-surface select,
body .gk-seva-dark-surface textarea,
body .gk-seva-dark-surface a *,
body .gk-seva-dark-surface button *,
body .gk-seva-dark-surface input *,
body .gk-seva-dark-surface select *,
body .gk-seva-dark-surface textarea * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

/* Explicit form-control selectors as a fallback for theme/form-plugin markup. */
body form button[type="submit"],
body form input[type="submit"],
body form input[type="button"],
body form .wpforms-submit,
body form .wpcf7-submit,
body form .gform_button {
	-webkit-text-fill-color: #171717 !important;
}

body form button[type="submit"] *,
body form .wpforms-submit *,
body form .wpcf7-submit *,
body form .gform_button * {
	color: #171717 !important;
	-webkit-text-fill-color: #171717 !important;
}

/* Keep the forced colors during hover/focus/active states. */
body .gk-seva-force-dark-text:hover,
body .gk-seva-force-dark-text:focus,
body .gk-seva-force-dark-text:active,
body .gk-seva-force-dark-text:hover *,
body .gk-seva-force-dark-text:focus *,
body .gk-seva-force-dark-text:active * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body .gk-seva-force-light-text:hover,
body .gk-seva-force-light-text:focus,
body .gk-seva-force-light-text:active,
body .gk-seva-force-light-text:hover *,
body .gk-seva-force-light-text:focus *,
body .gk-seva-force-light-text:active * {
	color: #171717 !important;
	-webkit-text-fill-color: #171717 !important;
}
