/* CT Agent Directory - Frontend Styles */

.ct-agent-directory {
	min-height: 250px;
}

.ct-agent-search-form {
	margin-bottom: 2em;
}

.ct-agent-search-form select {
	min-width: 250px;
	padding: 8px 12px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.ct-agent-search-form button {
	padding: 8px 16px;
	margin-left: 8px;
	cursor: pointer;
}

.ct-agent-results {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 320px, 1fr ) );
	gap: 1.5em;
}

.ct-agent-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 1.25em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ct-agent-card h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 1.2em;
	color: #333;
}

.ct-agent-card p {
	margin: 0.4em 0;
	font-size: 0.95em;
	line-height: 1.5;
}

.ct-agent-address {
	margin: 0.6em 0;
	font-size: 0.95em;
	line-height: 1.6;
}

.ct-agent-card a {
	color: inherit;
	text-decoration: underline;
}

.ct-agent-card a:hover {
	color: #0073aa;
}

.ct-agent-no-results {
	padding: 1em;
	color: #666;
	font-style: italic;
}

@media (max-width: 600px) {
	.ct-agent-results {
		grid-template-columns: 1fr;
	}

	.ct-agent-search-form select {
		width: 100%;
	}
}
