/* =========================================================
   Centers List Shortcode — Styles
   ========================================================= */

.oncefebrero-centers-wrap {
	font-family: inherit;
	box-sizing: border-box;
}
.oncefebrero-centers-wrap *,
.oncefebrero-centers-wrap *::before,
.oncefebrero-centers-wrap *::after {
	box-sizing: inherit;
}

/* Map
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-map {
	width: 100%;
	height: 450px;
	margin-bottom: 24px;
	border-radius: 8px;
	border: 1px solid #ddd;
	overflow: hidden;
}

/* Search
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-search {
	margin-bottom: 12px;
}
.oncefebrero-centers-wrap .oncefebrero-search-input {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	transition: border-color 0.15s;
}
.oncefebrero-centers-wrap .oncefebrero-search-input:focus {
	outline: none;
	border-color: #2c3e50;
}

/* Filters
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 16px;
	margin-bottom: 20px;
	background: #f5f7fa;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
}
.oncefebrero-centers-wrap .oncefebrero-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 160px;
}
.oncefebrero-centers-wrap .oncefebrero-filter-group label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}
.oncefebrero-centers-wrap .oncefebrero-filter-group select {
	width: 100%;
	padding: 7px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s;
}
.oncefebrero-centers-wrap .oncefebrero-filter-group select:focus {
	outline: none;
	border-color: #2c3e50;
}

/* Reset button
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-filter-actions {
	flex: 0 0 auto;
	justify-content: flex-end;
}
.oncefebrero-centers-wrap .oncefebrero-btn-reset {
	padding: 7px 18px;
	background: #e74c3c;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s;
}
.oncefebrero-centers-wrap .oncefebrero-btn-reset:hover {
	background: #c0392b;
}

/* Toolbar
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.oncefebrero-centers-wrap .oncefebrero-per-page-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.oncefebrero-centers-wrap .oncefebrero-per-page-wrap label {
	font-size: 13px;
	color: #555;
	white-space: nowrap;
}
.oncefebrero-centers-wrap .oncefebrero-per-page-wrap select {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
}
.oncefebrero-centers-wrap .oncefebrero-results-count {
	font-size: 13px;
	color: #777;
}

/* Table
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 8px;
	font-size: 14px;
}
.oncefebrero-centers-wrap .oncefebrero-table th,
.oncefebrero-centers-wrap .oncefebrero-table td {
	padding: 10px 12px;
	border: 1px solid #dde3ea;
	text-align: left;
	vertical-align: middle;
}
.oncefebrero-centers-wrap .oncefebrero-table thead tr {
	background: #2c3e50;
	color: #fff;
}
.oncefebrero-centers-wrap .oncefebrero-table thead th {
	border-color: #2c3e50;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.oncefebrero-centers-wrap .oncefebrero-table tbody tr:nth-child(even) {
	background: #f8f9fc;
}
.oncefebrero-centers-wrap .oncefebrero-table tbody tr:hover {
	background: #eaf4fb;
}

/* No results
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-no-results {
	padding: 20px;
	text-align: center;
	color: #888;
	font-style: italic;
	border: 1px dashed #ccc;
	border-radius: 6px;
}

/* Pagination
   --------------------------------------------------------- */
.oncefebrero-centers-wrap .oncefebrero-pagination {
	margin-top: 16px;
}
.oncefebrero-centers-wrap .oncefebrero-pag-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}
.oncefebrero-centers-wrap .oncefebrero-pag-btn {
	padding: 6px 12px;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	color: #333;
	transition: background 0.12s;
}
.oncefebrero-centers-wrap .oncefebrero-pag-btn.active {
	background: #2c3e50;
	color: #fff;
	border-color: #2c3e50;
}
.oncefebrero-centers-wrap .oncefebrero-pag-btn:hover:not([disabled]):not(.active) {
	background: #ecf0f1;
	border-color: #aaa;
}
.oncefebrero-centers-wrap .oncefebrero-pag-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}
.oncefebrero-centers-wrap .oncefebrero-pag-info {
	margin-left: 8px;
	font-size: 13px;
	color: #666;
}

/* Map info window
   --------------------------------------------------------- */
.oncefebrero-info-window {
	font-size: 13px;
	max-width: 240px;
	line-height: 1.5;
	padding: 2px 0;
}

/* Access denied notice
   --------------------------------------------------------- */
.oncefebrero-access-denied {
	padding: 14px 18px;
	background: #fef3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	color: #856404;
	font-size: 14px;
}

/* Responsive
   --------------------------------------------------------- */
@media ( max-width: 768px ) {
	.oncefebrero-centers-wrap .oncefebrero-map {
		height: 300px;
	}
	.oncefebrero-centers-wrap .oncefebrero-table thead {
		display: none;
	}
	.oncefebrero-centers-wrap .oncefebrero-table,
	.oncefebrero-centers-wrap .oncefebrero-table tbody,
	.oncefebrero-centers-wrap .oncefebrero-table tr,
	.oncefebrero-centers-wrap .oncefebrero-table td {
		display: block;
		width: 100%;
	}
	.oncefebrero-centers-wrap .oncefebrero-table tr {
		margin-bottom: 12px;
		border: 1px solid #dde3ea;
		border-radius: 6px;
		overflow: hidden;
	}
	.oncefebrero-centers-wrap .oncefebrero-table td {
		border: none;
		border-bottom: 1px solid #eee;
		padding: 8px 12px;
	}
	.oncefebrero-centers-wrap .oncefebrero-table td:last-child {
		border-bottom: none;
	}
	.oncefebrero-centers-wrap .oncefebrero-table td::before {
		content: attr( data-label );
		display: block;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		color: #888;
		margin-bottom: 2px;
	}
}
