.omni-form .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.omni-form form .omni-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

/* Custom Dropdown Styles - Match Text Fields Exactly */
.hiiumaa-omni-form .servicesContactForm select.omni-form-control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fcfcfc;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='m2 0-2 2h4zm0 5 2-2h-4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	padding: 6px 30px 6px 12px;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.428571429;
	color: #000;
	transition: all ease-in-out .15s;
	cursor: pointer;
	display: block;
	width: 100%;
}

.hiiumaa-omni-form .servicesContactForm select.omni-form-control:focus {
	background-color: #fcfcfc;
	border-color: #ccc;
	outline: 0;
}

.hiiumaa-omni-form select.omni-form-control:disabled {
	background-color: #f7fafc;
	color: #a0aec0;
	cursor: not-allowed;
	border-color: #e2e8f0;
}

/* Checkbox group styling for room types */
.hiiumaa-omni-form .omni-checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hiiumaa-omni-form .omni-checkbox-item {
	display: flex;
	gap: 8px;
	align-items: center;
	background-color: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	padding: 8px;
	cursor: pointer;
	transition: all ease-in-out 0.15s;
	margin: 0;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.428571429;
}

.hiiumaa-omni-form .omni-checkbox-item:hover {
	background-color: #f7fafc;
	border-color: #cbd5e0;
}

.hiiumaa-omni-form .omni-checkbox-item input[type="checkbox"] {
	margin: 0 8px 0 0;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.hiiumaa-omni-form .omni-checkbox-item input[type="checkbox"]:checked + .omni-checkbox-label {
	color: #fff;
	font-weight: 600;
}

.hiiumaa-omni-form .omni-checkbox-item:has(input[type="checkbox"]:checked) {
	background-color: #f6965c;
	border-color: #f6965c;
	color: #fff;
}

.hiiumaa-omni-form .omni-checkbox-label {
	color: #2d3748;
	line-height: 1.2;
}

/* Remove input styling since it exists in theme - only keep dropdown-specific styles */

.hiiumaa-omni-form textarea.omni-form-control {
	resize: vertical;
	min-height: 100px;
	font-family: inherit;
}

/* Number inputs */
.hiiumaa-omni-form input[type="number"].omni-form-control {
	width: 100%;
}

/* URL inputs */
.hiiumaa-omni-form input[type="url"].omni-form-control {
	font-family: 'Courier New', monospace;
	font-size: 14px;
}

/* Form sections styling */
.hiiumaa-omni-form h4 {
	border-bottom: 3px solid #f6965c;
	margin-bottom: 1em;
	margin-top: 1.4em;
}

/* Label styling */
.hiiumaa-omni-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #2d3748;
}

/* Form field styling to match paragraph spacing */
.hiiumaa-omni-form .form-field {
	margin-bottom: 16px;
}

/* Flex rows for side-by-side form fields */
.hiiumaa-omni-form .omni-flex-row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.hiiumaa-omni-form .omni-flex-row .form-field {
	flex: 1 1 0;
	margin-bottom: 20px;
	min-width: 0;
}

@media (max-width: 768px) {
	.hiiumaa-omni-form .omni-flex-row {
		flex-direction: column;
		gap: 0;
	}
	
	.hiiumaa-omni-form .omni-flex-row .form-field {
		flex: none;
		width: 100%;
		max-width: none;
	}
}

/* Omni Image Uploader Component Styles */
.omni-image-uploader-component {
	margin-bottom: 16px;
}

.omni-image-uploader-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #2d3748;
}

.omni-image-upload-area {
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	background-color: #fcfcfc;
	padding: 8px;
}

.omni-image-drop-zone {
	border: 2px dashed #e6e6e6;
	border-radius: 4px;
	padding: 16px 8px;
	text-align: center;
	cursor: pointer;
	transition: all ease-in-out 0.15s;
	margin-bottom: 16px;
}

.omni-image-drop-zone:hover {
	border-color: #f6965c;
	background-color: #fff8f3;
}

.omni-image-drop-zone.drag-over {
	border-color: #f6965c;
	background-color: #fff8f3;
	transform: scale(1.02);
}

.omni-drop-zone-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.omni-upload-icon {
	color: #a0aec0;
	width: 48px;
	height: 48px;
}

.omni-image-drop-zone:hover .omni-upload-icon {
	color: #f6965c;
}

.omni-drop-zone-content p:first-of-type {
	margin: 0;
	color: #718096;
	font-size: 16px;
}

.omni-upload-terms,
.omni-upload-requirements {
	color: #718096;
	font-size: 12px;
	text-align: center;
}

.omni-drag-instruction {
	color: #718096;
	font-style: italic;
	margin-bottom: 16px;
	text-align: center;
}

.omni-image-preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.omni-image-preview-item {
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	overflow: hidden;
	background-color: #fff;
	transition: all ease-in-out 0.15s;
}


.omni-image-preview-wrapper {
	position: relative;
}

.omni-image-preview {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.omni-image-controls {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	gap: 4px;
}

.omni-remove-image {
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	border: none;
	border-radius: 4px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color ease-in-out 0.15s;
}

.omni-remove-image:hover {
	background-color: #dc3232;
}

.omni-image-meta {
	padding: 8px;
}

.omni-image-meta label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 12px;
	color: #2d3748;
}

.omni-image-meta input[type="text"] {
	width: 100%;
	font-size: 12px;
	padding: 8px;
}

/* Featured checkbox styling */
.omni-featured-checkbox {
	margin-bottom: 8px;
}

.omni-featured-checkbox label {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	height: 20px;
}

.omni-featured-radio {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: #f6965c;
	margin: 0;
	display: flex;
	align-self: center;
}

.omni-featured-label {
	color: #2d3748;
	font-size: 12px;
	font-weight: 600;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.omni-image-preview-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 16px;
	}
	
	.omni-image-drop-zone {
		padding: 32px 16px;
	}
	
	.omni-drop-zone-content p {
		font-size: 14px;
	}
	
	.omni-upload-icon {
		width: 36px;
		height: 36px;
	}
}

/* Remove default margin from radio and checkbox inputs */
input[type="radio"], input[type="checkbox"] {
	margin: 0 !important;
}

/* Submit button uses existing theme styles */

/* Subcategory loader styling */
.omni-subcategory-loader {
    text-align: center;
    padding: 20px;
}

.omni-subcategory-loader img {
    width: 24px;
    height: 24px;
}

/* Form template loader styling */
.omni-form-loader {
    text-align: center;
    padding: 40px 20px;
    margin: 16px 0;
}

.omni-form-loader img {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.omni-form-loader p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    font-style: italic;
}

/* Form validation styles */
.required-indicator {
    color: #dc3232;
    font-weight: bold;
    margin-left: 2px;
}

.field-error {
    color: #dc3232;
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

.form-validation-error {
    background-color: #fee;
    border: 1px solid #dc3232;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
    color: #dc3232;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.form-validation-error.show {
    opacity: 1;
    transform: translateY(0);
}

.has-error {
    border-color: #dc3232 !important;
}

.has-error-label {
    color: #dc3232 !important;
}

/* Subcategory checkboxes error styling */
.omni-checkbox-item.checkbox-error {
    border: 1px solid #dc3232 !important;
}

/* Custom button styles matching theme */
.omni-button {
    display: inline-block;
    background: var(--orangeAccent);
    color: #000;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.omni-button:hover {
    background: #e8834a;
    color: #000;
    text-decoration: none;
}

.omni-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Submit button loader styling */
.omni-submit-loader {
    display: none;
    vertical-align: middle;
}

.omni-submit-loader img {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    vertical-align: middle;
}

/* Success message styles */
.omni-success-message {
    text-align: center;
    padding: 40px 20px;
}

.omni-success-message h2 {
    color: var(--orangeAccent);
    margin-bottom: 20px;
}

.omni-success-message .success-body {
    margin-bottom: 32px;
}

.omni-success-message .success-actions {
    margin-top: 32px;
}
