/**
 * Places Autocomplete Styles
 *
 * Default styles for Places Autocomplete plugin.
 *
 * @package Places_Autocomplete
 */

/* .places-autocomplete-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
} */

/* .places-autocomplete-input {
	width: 100%;
	padding: 10px 35px 10px 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.places-autocomplete-input:focus {
	outline: none;
	border-color: #4285f4;
	box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.places-autocomplete-input:disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.6;
} */


.pac-item {
    padding: 0.5rem 1rem;
    border-top: 1px solid #dee2e6;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #0d6efd;
    color: #fff;
}

.pac-item-selected .pac-item-query,
.pac-item-selected .pac-secondary-text,
.pac-item-selected .pac-matched {
    color: #fff;
}

.pac-item-query {
    color: #212529;
}

.pac-matched {
    color: #0d6efd;
    font-weight: 600;
}

.pac-secondary-text {
    color: #6c757d;
}

.places-autocomplete-clear {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	display: none;
	color: #999;
	font-size: 20px;
	line-height: 1;
	width: 24px;
	height: 24px;
	text-align: center;
	transition: color 0.2s ease;
	z-index: 10;
}

/* Position relative to wrapper */
.places-autocomplete-wrapper {
    position: relative;
}

/* Note: Width is controlled by JavaScript to match input field width */
/* CSS width rules removed to allow JavaScript to set specific pixel width */

.places-autocomplete-clear:hover {
	color: #333;
}

.places-autocomplete-clear:focus {
	outline: 2px solid #4285f4;
	outline-offset: 2px;
	border-radius: 2px;
}

.places-autocomplete-wrapper.has-value .places-autocomplete-clear {
	display: block;
}

/* Accessibility: Screen reader only text */
.places-autocomplete-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}



/* Hidden fields are not displayed but kept for form submission */
.places-autocomplete-wrapper input[type="hidden"] {
	display: none;
}

