/* ============================================================
   Incentivi Gov — Stili
   ============================================================ */

/* ---------- Cards UIkit — glassmorphism ---------- */
.el-item.uk-card-default {
	background-color: rgb(255 255 255 / 42%) !important;
	backdrop-filter: blur(30px) !important;
	-webkit-backdrop-filter: blur(30px) !important;
	border: 1px solid rgba(229, 229, 231, 0) !important;
	box-shadow: 1px 1px 20px 0 rgb(0 0 0 / 10%) !important;
}

.bando-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 8px;
}

.bando-badge {
	display: inline-block;
	background-color: #29ABE2;
	color: #fff !important;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	width: fit-content;
	line-height: 1.4;
}

.bando-badge--extra {
	background-color: #F5A623;
	color: #fff !important;
}

.bando-descrizione,
.bando-descrizione p {
	color: #333 !important;
}

.el-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #555;
}

.el-meta svg {
	flex-shrink: 0;
}

/* ---------- Filtro regione ---------- */
.incgov-tabella-wrap {
	margin: 20px 0;
}

.incgov-filter-btn {
	background: #29ABE2;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 13px 24px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s;
	white-space: nowrap;
}

.incgov-filter-btn:hover {
	background: #1a8fbf;
}

.incgov-filtri {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.incgov-filter-regione {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	max-width: 420px;
	background-color: #fff;
	border: 1px solid #cbd5e0;
	border-radius: 8px;
	padding: 13px 44px 13px 18px;
	font-size: 1rem;
	font-weight: 500;
	color: #1a202c;
	cursor: pointer;
	box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	transition: border-color .2s, box-shadow .2s;
	line-height: 1.5;
}

.incgov-filter-regione:hover {
	border-color: #2b6cb0;
}

.incgov-filter-regione:focus {
	outline: none;
	border-color: #2b6cb0;
	box-shadow: 0 0 0 3px rgba(43, 108, 176, .18);
}

/* ---------- Paginazione ---------- */
.incgov-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e8edf2;
}

.incgov-page-info {
	font-size: .85rem;
	color: #718096;
}

.incgov-page-buttons {
	display: flex;
	gap: 8px;
}

.incgov-page-btn {
	background: #2b6cb0;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: .9rem;
	cursor: pointer;
	transition: background .15s;
}

.incgov-page-btn:hover:not(:disabled) {
	background: #1a4f8a;
}

.incgov-page-btn:disabled {
	background: #cbd5e0;
	cursor: not-allowed;
}

/* ---------- Notice / Loading ---------- */
.incgov-notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	color: #856404;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: .875rem;
}

.incgov-loading {
	text-align: center;
	padding: 32px;
	color: #718096;
	font-style: italic;
}
