/**
 * Loaded last so focus rings win over outline:0 on inputs and Divi controls.
 */

html body.oi-header-mock :is(a, button, input, select, textarea, summary):focus,
html body.oi-header-mock :is(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid #f6f5f2 !important;
	outline-offset: 2px !important;
}

html body.oi-header-mock .oi-contact-form-panel__form :is(input, select, textarea):focus,
html body.oi-header-mock .oi-contact-form-panel__form :is(input, select, textarea):focus-visible,
html body.oi-header-mock .oi-pdp-rev__form :is(input, textarea):focus,
html body.oi-header-mock .oi-pdp-rev__form :is(input, textarea):focus-visible {
	outline-color: #080808 !important;
}

html body.oi-header-mock #main-content:focus,
html body.oi-header-mock #main-content:focus-visible {
	outline: none !important;
}

.show-password-input,
.oi-register .gfield--type-password button {
	position: static !important;
	min-width: 24px !important;
	min-height: 24px !important;
	flex: 0 0 auto;
}

html body.oi-header-mock .password-input,
html body.oi-header-mock .oi-register .gfield--type-password .ginput_left,
html body.oi-header-mock .oi-register .gfield--type-password .ginput_right,
html body.oi-header-mock .oi-register .gfield--type-password .gform-grid-col {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
}

html body.oi-header-mock .password-input input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
}

/* Hide helper text without a fixed height, which the zoom check treats as clipped text. */
html body.oi-header-mock .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

button.oi-pdp-add,
button.oi-pdp-add:hover,
button.oi-pdp-add:focus {
	color: #fff !important;
	background-color: #d40808 !important;
}

button.oi-pdp-add:hover {
	background-color: #b10606 !important;
}

.oi-register .gfield_required,
.oi-register .gfield_required_text {
	color: #ff4a4a;
}
