/* Hotel Admin -- frontend shortcode styling. Minimal, theme-agnostic. */

.ha-hotels-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ha-hotels-grid.ha-columns-2 { grid-template-columns: repeat(2, 1fr); }
.ha-hotels-grid.ha-columns-4 { grid-template-columns: repeat(4, 1fr); }

.ha-hotel-card {
	display: block;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.ha-hotel-card-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.ha-hotel-card-body {
	padding: 12px 16px;
}

.ha-hotel-card-body h3 {
	margin: 0 0 4px;
}

.ha-stars { color: #f5a623; }

.ha-availability-badge {
	display: inline-block;
	margin-top: 8px;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 13px;
}

.ha-availability-badge.ha-available { background: #d4f4dd; color: #1a7f37; }
.ha-availability-badge.ha-unavailable { background: #fde2e1; color: #a1201b; }

.ha-room-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	margin: 16px 0;
}

.ha-room-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.ha-room-card img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.ha-room-card-body { padding: 12px 16px; }

.ha-room-price { font-size: 18px; font-weight: 600; margin: 8px 0; }

.ha-button {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 4px;
	background: #d35400;
	color: #fff !important;
	text-decoration: none;
}

.ha-form p { margin-bottom: 12px; }
.ha-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.ha-form input, .ha-form textarea, .ha-form select {
	width: 100%;
	max-width: 400px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ha-top-list { display: flex; flex-wrap: wrap; gap: 12px; }

.ha-top-list-item {
	display: block;
	text-align: center;
	text-decoration: none;
	color: inherit;
	width: 120px;
}

.ha-top-list-item img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
}

.ha-review { border-bottom: 1px solid #eee; padding: 12px 0; }

.ha-empty { color: #777; font-style: italic; }
