/**
 * Warren Cat Company Plugin - Maps Styles
 *
 * @package Warren_Cat_Company_Plugin
 */

/* ===== MAP CONTAINERS ===== */
.warren-cat-single-map-container,
.warren-cat-multi-map-container {
	margin: 20px 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.warren-cat-single-map,
.warren-cat-multi-map {
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	position: relative;
}

.warren-cat-single-map.loading-locations,
.warren-cat-multi-map.loading-locations {
	opacity: 0.7;
	pointer-events: none;
}

.warren-cat-single-map.loading-locations::before,
.warren-cat-multi-map.loading-locations::before {
	content: "Loading map...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.9);
	padding: 10px 20px;
	border-radius: 4px;
	z-index: 1000;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== MAP FILTERS ===== */
.warren-cat-map-filters {
	background: #f9f9f9;
	padding: 15px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.map-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: end;
}

.warren-cat-map-filters .filter-group {
	display: flex;
	flex-direction: column;
	min-width: 150px;
}

.warren-cat-map-filters .filter-group label {
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.map-filter-select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	background: white;
}

.filter-map-btn {
	white-space: nowrap;
}



/* ===== DIRECTIONS ===== */
.warren-cat-map-directions {
	background: #f9f9f9;
	padding: 20px;
	border-top: 1px solid #e0e0e0;
}

.directions-form {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.directions-input {
	flex: 1;
	min-width: 250px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.get-directions-btn {
	white-space: nowrap;
}

.directions-panel {
	display: none;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 15px;
	max-height: 400px;
	overflow-y: auto;
}

.directions-panel .adp-substep {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
}

.directions-panel .adp-substep:last-child {
	border-bottom: none;
}

/* ===== INFO WINDOWS ===== */
.warren-cat-info-window {
	min-width: 250px;
	max-width: 300px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.warren-cat-info-window h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
	color: #333;
	line-height: 1.3;
}

.warren-cat-info-window > div {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.4;
}

.warren-cat-info-window strong {
	color: #333;
}

.info-featured-image {
	margin-bottom: 12px;
}

.info-featured-image img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.info-address {
	color: #666;
}

.info-phone a {
	color: #0073aa;
	text-decoration: none;
}

.info-phone a:hover {
	text-decoration: underline;
}

.info-services {
	color: #666;
}

.services-more {
	font-style: italic;
	color: #999;
}

.info-actions {
	margin-top: 12px;
	text-align: center;
}

.warren-cat-btn-small {
	padding: 6px 12px;
	font-size: 12px;
	border-radius: 3px;
}

/* ===== LOCATION MAP SECTION ===== */
.warren-cat-location-map-section {
	margin: 30px 0;
	padding: 20px 0;
	border-top: 2px solid #ffcc02;
}

.warren-cat-location-map-section h3 {
	margin: 0 0 20px 0;
	font-size: 1.5em;
	color: #333;
}

/* ===== MAP MESSAGES ===== */
.warren-cat-map-message {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 20px;
	text-align: center;
	color: #666;
	font-size: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== ADD TO LOCATIONS DIRECTORY ===== */
.warren-cat-locations-directory .warren-cat-map-toggle {
	margin-bottom: 20px;
	text-align: center;
}

.map-view-toggle {
	display: inline-flex;
	background: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}

.map-view-toggle button {
	padding: 10px 20px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.map-view-toggle button.active {
	background: #ffcc02;
	color: #000;
}

.map-view-toggle button:hover:not(.active) {
	background: #e0e0e0;
}

.locations-map-view {
	display: none;
}

.locations-map-view.active {
	display: block;
}

.locations-grid-view.hidden {
	display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
	.map-filter-row {
		flex-direction: column;
		align-items: stretch;
	}

	.warren-cat-map-filters .filter-group {
		min-width: auto;
	}

	.directions-form {
		flex-direction: column;
	}

	.directions-input {
		min-width: auto;
		margin-bottom: 10px;
	}

	.legend-items {
		flex-direction: column;
		gap: 8px;
	}

	.warren-cat-info-window {
		min-width: 200px;
		max-width: 250px;
	}

	.warren-cat-single-map,
	.warren-cat-multi-map {
		height: 300px !important;
	}

	.map-view-toggle {
		width: 100%;
	}

	.map-view-toggle button {
		flex: 1;
	}
}

@media (max-width: 480px) {
	.warren-cat-map-filters,
	.warren-cat-map-directions {
		padding: 15px;
	}



	.warren-cat-info-window {
		min-width: 180px;
		max-width: 200px;
	}

	.warren-cat-info-window h4 {
		font-size: 14px;
	}

	.warren-cat-info-window > div {
		font-size: 12px;
	}

	.directions-panel {
		padding: 10px;
		max-height: 250px;
	}
}

/* ===== ACCESSIBILITY ===== */
.warren-cat-single-map:focus,
.warren-cat-multi-map:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.directions-input:focus,
.map-filter-select:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
	border-color: #0073aa;
}

/* ===== LOADING STATES ===== */
.warren-cat-map-filters.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.8);
	z-index: 100;
}

/* ===== GOOGLE MAPS OVERRIDES ===== */
.gm-style .gm-style-iw-c {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gm-style .gm-style-iw-t::after {
	background: white;
}

/* Marker clustering styles */
.cluster {
	background: #ffcc02;
	border: 2px solid #333;
	border-radius: 50%;
	color: #000;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

/* ===== SHARED LOCATION CARD STYLES ===== */
.warren-cat-location-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
}

/* Shared Featured Image */
.location-card-featured-image {
	width: 100%;
	overflow: hidden;
}

.location-card-featured-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/* Shared Header */
.location-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.location-card-title {
	font-weight: 600;
	margin: 0;
}

/* Shared Actions */
.location-card-actions {
	margin: 0.5rem 0;
}

.location-card-details-link {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s ease;
}

.location-card-details-link:hover {
	color: #0056b3;
}

.location-card-details-link svg {
	width: 16px;
	height: 16px;
}

/* Shared Offerings */
.location-card-offerings h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #333;
}

.location-card-offerings-list {
	color: #666;
	line-height: 1.5;
}

/* Shared Hours */
.location-card-hours h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #333;
}

.location-card-hours-today,
.location-card-hours-default {
	color: #666;
	line-height: 1.5;
}

/* Shared Phone */
.location-card-phone h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #333;
}

.location-card-phone-link {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.location-card-phone-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

/* Shared Address */
.location-card-address {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.location-card-address-icon {
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.location-card-address-icon svg {
	width: 16px;
	height: 16px;
	color: #6c757d;
}

.location-card-address-text {
	color: #666;
	line-height: 1.5;
}

/* Shared Directions Button */
.location-card-directions-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #000;
	color: #ffc820;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.location-card-directions-btn:hover {
	background: #333;
	color: #ffc820;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.location-card-directions-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ===== MOBILE LOCATION CARD SPECIFIC ===== */
.warren-cat-mobile-location-card {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin: 1rem 0;
	display: none;
	border: 1px solid #e9ecef;
}

.warren-cat-mobile-location-card.show {
	display: block;
}

/* Mobile Card Content */
.location-card-content.mobile-card-content {
	padding: 0;
}

/* Mobile Card Header Overrides */
.location-card-header.mobile-card-header {
	padding: 1rem 1.5rem;
	background: #ffc820;
	color: #000;
}

.location-card-title.mobile-card-title {
	font-size: 1.25rem;
	color: #000;
}

.mobile-card-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #000;
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.mobile-card-close:hover {
	background: rgba(0, 0, 0, 0.1);
}

.mobile-card-close:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Organized Hours and Phones Styles */
.location-card-hours-organized,
.location-card-phones-organized {
	margin: 1rem 0;
}

.location-card-hours-organized h4,
.location-card-phones-organized h4 {
	margin: 0 0 0.75rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	border-bottom: 1px solid #e9ecef;
	padding-bottom: 0.5rem;
}

.service-hours-group,
.service-phone-group {
	margin-bottom: 1rem;
	padding: 0.75rem;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #007bff;
}

.service-hours-group.primary-hours {
	border-left-color: #28a745;
	background: #f8fff9;
}

.service-name {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #495057;
}

.weekday-hours,
.weekend-hours {
	margin-bottom: 0.75rem;
}

.weekday-hours h6,
.weekend-hours h6,
.weekend-hours-group h6,
.phone-group-label {
	margin: 0 0 0.25rem 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: #6c757d;
}

.hours-schedule {
	margin-left: 0.5rem;
}

.day-hours {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.25rem 0;
	border-bottom: 1px solid #e9ecef;
}

.day-hours:last-child {
	border-bottom: none;
}

.day-name {
	font-weight: 500;
	color: #495057;
	flex: 1;
}

.day-time {
	color: #6c757d;
	font-size: 0.9rem;
}

.phone-group {
	margin-bottom: 0.5rem;
}

.phone-numbers-list {
	margin-left: 0.5rem;
}

.phone-number-item {
	padding: 0.25rem 0;
}

.phone-number-item.primary-phone .location-card-phone-link {
	font-weight: 600;
	color: #28a745;
}

.phone-number-item .location-card-phone-link {
	color: #007bff;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

.phone-number-item .location-card-phone-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

/* Mobile Card Section Padding Overrides */
.warren-cat-mobile-location-card .location-card-actions.mobile-card-actions {
	padding: 0.75rem 1.5rem;
	border-bottom: 1px solid #e9ecef;
}

.warren-cat-mobile-location-card .location-card-offerings {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #e9ecef;
}

.warren-cat-mobile-location-card .location-card-hours-organized,
.warren-cat-mobile-location-card .location-card-phones-organized {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #e9ecef;
	margin: 0;
}

.warren-cat-mobile-location-card .location-card-address {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #e9ecef;
}

.warren-cat-mobile-location-card .location-card-directions {
	padding: 1rem 1.5rem;
}

/* Desktop Info Window Styles for Organized Content */
.warren-cat-info-window .location-card-hours-organized,
.warren-cat-info-window .location-card-phones-organized {
	margin: 0.75rem 0;
}

.warren-cat-info-window .service-hours-group,
.warren-cat-info-window .service-phone-group {
	margin-bottom: 0.75rem;
	padding: 0.5rem;
	font-size: 0.9rem;
}

.warren-cat-info-window .service-name {
	font-size: 0.9rem;
}

.warren-cat-info-window .day-hours {
	padding: 0.15rem 0;
	font-size: 0.85rem;
}

.warren-cat-info-window .phone-number-item .location-card-phone-link {
	font-size: 0.85rem;
}

/* Multiple Locations Note Styling */
.multiple-locations-note {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 4px;
	padding: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: #856404;
	text-align: center;
}

.multiple-locations-note strong {
	color: #533f03;
	font-weight: 600;
}

/* Mobile Card Location Info */
.mobile-card-location-header {
	margin-bottom: 1.5rem;
}

.mobile-card-location-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #2c3e50;
	margin: 0 0 0.5rem 0;
	line-height: 1.3;
}

.mobile-card-location-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.mobile-card-distance {
	background: #e3f2fd;
	color: #1976d2;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 500;
}

.mobile-card-type-badge {
	background: #f8f9fa;
	color: #495057;
	padding: 0.25rem 0.75rem;
	border-radius: 16px;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mobile-card-type-badge.rental {
	background: #f44336;
	color: #ffffff;
}

.mobile-card-type-badge.equipment {
	background: #ffeb3b;
	color: #333333;
}

.mobile-card-type-badge.power_systems {
	background: #6c757d;
	color: #ffffff;
}

/* Mobile Card Information Sections */
.mobile-card-section {
	margin-bottom: 1.5rem;
}

.mobile-card-section:last-child {
	margin-bottom: 0;
}

.mobile-card-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #495057;
	margin-bottom: 0.75rem;
}

.mobile-card-section-title svg {
	width: 18px;
	height: 18px;
	color: #6c757d;
	flex-shrink: 0;
}

.mobile-card-section-content {
	color: #495057;
	line-height: 1.5;
}

/* Mobile Card Address */
.mobile-card-address-link {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.mobile-card-address-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

/* Mobile Card Services */
.mobile-card-services-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.mobile-card-service-item {
	background: #f8f9fa;
	color: #495057;
	padding: 0.375rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	border: 1px solid #e9ecef;
}

/* Mobile Card Hours */
.mobile-card-hours-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #dee2e6;
	margin-bottom: 0.5rem;
}

.mobile-card-hours-item.primary-hours {
	background: #e3f2fd;
	border-left-color: #007bff;
}

.mobile-card-hours-label {
	font-weight: 500;
	color: #495057;
	font-size: 0.9rem;
}

.mobile-card-hours-today {
	color: #28a745;
	font-weight: 500;
}

.mobile-card-hours-today strong {
	color: #155724;
}

.mobile-card-hours-default {
	color: #6c757d;
	font-style: italic;
}

/* Mobile Card Phone Numbers */
.mobile-card-phone-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #dee2e6;
	margin-bottom: 0.5rem;
}

.mobile-card-phone-item.primary-phone {
	background: #e8f5e8;
	border-left-color: #28a745;
}

.mobile-card-phone-label {
	font-weight: 500;
	color: #495057;
	font-size: 0.9rem;
}

.mobile-card-phone-link {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.1rem;
	transition: color 0.2s ease;
}

.mobile-card-phone-link:hover {
	color: #0056b3;
	text-decoration: underline;
}

/* Mobile Card Actions */
.mobile-card-actions {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e9ecef;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.mobile-card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	border-radius: 8px;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
	min-height: 48px;
}

.mobile-card-btn-primary {
	background: #007bff;
	color: #ffffff;
}

.mobile-card-btn-primary:hover {
	background: #0056b3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.mobile-card-btn-secondary {
	background: #6c757d;
	color: #ffffff;
}

.mobile-card-btn-secondary:hover {
	background: #545b62;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.mobile-card-btn:focus {
	outline: 2px solid #80bdff;
	outline-offset: 2px;
}

.mobile-card-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Mobile Card Featured Image */
.mobile-card-featured-image {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
}

.mobile-card-featured-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/* Mobile Card Container - positioned below map */
.warren-cat-mobile-card-container {
	margin-top: 1rem;
}

/* Hide mobile card on desktop */
@media (min-width: 769px) {
	.warren-cat-mobile-location-card,
	.warren-cat-mobile-card-container {
		display: none !important;
	}
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
	/* Hide desktop info windows on mobile */
	.gm-style .gm-style-iw-c {
		display: none !important;
	}
	
	.warren-cat-multi-map,
	.warren-cat-single-map {
		margin-bottom: 0;
	}
}

@media (max-width: 480px) {
	.mobile-card-header {
		padding: 0.875rem 1rem;
	}
	
	.mobile-card-content {
		padding: 1rem;
	}
	
	.mobile-card-location-title {
		font-size: 1.1rem;
	}
	
	.mobile-card-section-title {
		font-size: 0.95rem;
	}
	
	.mobile-card-btn {
		padding: 0.75rem 1.25rem;
		font-size: 0.95rem;
		min-height: 44px;
	}
	
	.mobile-card-featured-image img {
		height: 160px;
	}
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
	.warren-cat-mobile-location-card,
	.warren-cat-mobile-card-backdrop {
		transition: none;
	}
	
	.mobile-card-btn:hover {
		transform: none;
	}
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
	.warren-cat-map-filters {
		background: #ffffff;
		border: 2px solid #000000;
	}



	.warren-cat-info-window {
		border: 2px solid #000000;
	}
	
	.warren-cat-mobile-location-card {
		border: 2px solid #000000;
	}
	
	.mobile-card-btn {
		border: 2px solid #000000;
	}
}

/* ===== REPRESENTATIVES SECTION ===== */
.location-representatives {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.representatives-section {
	margin: 0;
}

.representatives-header {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #333;
}

.representatives-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #666;
}

.representatives-loading .loading-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #FFC820;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Style the representative cards within location cards */
.location-representatives .warren-cat-representatives-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.location-representatives .warren-cat-representative-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.location-representatives .representative-image {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
}

.location-representatives .representative-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.location-representatives .wcat-avatar-placeholder {
	background: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
	color: #666;
}

.location-representatives .representative-content {
	flex: 1;
	min-width: 0;
}

.location-representatives .representative-header {
	margin-bottom: 5px;
}

.location-representatives .rep-title {
	font-size: 11px;
	font-weight: 500;
	margin: 0 0 2px 0;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.location-representatives .representative-name {
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 5px 0;
	color: #333;
}

.location-representatives .representative-actions {
	margin-top: 5px;
}

.location-representatives .warren-cat-btn {
	font-size: 11px;
	padding: 4px 8px;
	min-height: auto;
	line-height: 1.2;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
	.warren-cat-mobile-location-card .location-representatives {
		margin-top: 20px;
		padding-top: 20px;
	}
	
	.warren-cat-mobile-location-card .representatives-header {
		font-size: 16px;
		margin-bottom: 15px;
	}
	
	.warren-cat-mobile-location-card .warren-cat-representative-card {
		padding: 15px;
	}
	
	.warren-cat-mobile-location-card .representative-image {
		width: 50px;
		height: 50px;
	}
	
	.warren-cat-mobile-location-card .representative-name {
		font-size: 14px;
	}
	
	.warren-cat-mobile-location-card .warren-cat-btn {
		font-size: 12px;
		padding: 6px 12px;
	}
} 