/**
 * URAC directory styles.
 *
 * Self-contained layout for the directory filter form, results table, and detail
 * screens. The legacy theme leaned on Bootstrap grid classes that do not exist on
 * the new site, so layout here is plain flexbox.
 */

.urac-directory-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}

.urac-directory-field {
	display: flex;
	flex-direction: column;
	flex: 1 1 220px;
	margin: 0;
}

.urac-directory-field label {
	font-weight: 600;
	margin-bottom: 4px;
}

.urac-directory-field input,
.urac-directory-field select {
	width: 100%;
	padding: 8px 10px;
}

.urac-directory-actions {
	flex: 1 1 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
}

.urac-directory-results {
	display: none;
	margin-top: 16px;
	overflow-x: auto;
}

.urac-directory-message {
	display: none;
	margin-top: 16px;
}

.urac-directory-table {
	width: 100%;
}

.record-address {
	color: #555;
	font-size: 0.9em;
}

/* Lightweight spinner (no image asset). */
.urac-directory-spinner {
	display: none;
	width: 36px;
	height: 36px;
	margin: 24px auto;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: rgba(0, 0, 0, 0.55);
	border-radius: 50%;
	animation: urac-directory-spin 0.8s linear infinite;
}

@keyframes urac-directory-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Detail screen. */
.urac-directory-detail-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 16px;
}

.urac-directory-detail-col {
	flex: 1 1 240px;
}

.urac-directory-detail-info {
	list-style: none;
	padding: 0;
	margin: 0;
}

.urac-directory-detail-site {
	margin-bottom: 12px;
}
