/* Hotel Booking Pro - front-end styles */

.hbp-rooms-grid {
	display: grid;
	grid-template-columns: repeat(var(--hbp-columns, 3), 1fr);
	gap: 24px;
	margin: 24px 0;
}
@media (max-width: 782px) {
	.hbp-rooms-grid { grid-template-columns: 1fr; }
}

.hbp-room-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.hbp-room-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.hbp-room-thumb-placeholder { width: 100%; height: 200px; background: #f0f0f0; }
.hbp-room-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.hbp-room-title { margin: 0; font-size: 18px; }
.hbp-room-title a { text-decoration: none; color: inherit; }
.hbp-room-excerpt { color: #666; font-size: 14px; margin: 0; }
.hbp-room-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin: 4px 0; }
.hbp-room-price { font-weight: 700; font-size: 16px; }
.hbp-room-price small { font-weight: 400; color: #777; }

.hbp-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
}
.hbp-btn-primary { background: #1d4ed8; color: #fff; }
.hbp-btn-primary:hover { background: #1e40af; color: #fff; }
.hbp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hbp-booking-form {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 20px;
	max-width: 420px;
	background: #fafafa;
}
.hbp-booking-form-title { margin-top: 0; }
.hbp-booking-price { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.hbp-booking-price span { font-size: 13px; font-weight: 400; color: #777; }

.hbp-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hbp-field-row { display: flex; gap: 12px; }
.hbp-field label { font-size: 13px; font-weight: 600; }
.hbp-field input, .hbp-field select {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}
.hbp-checkbox-field label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.hbp-availability-result { margin-bottom: 12px; font-weight: 600; padding: 8px 10px; border-radius: 4px; }
.hbp-availability-result.hbp-available { background: #d4edda; color: #155724; }
.hbp-availability-result.hbp-unavailable { background: #f8d7da; color: #721c24; }

.hbp-booking-summary { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }

.hbp-booking-message { color: #d63638; font-size: 13px; min-height: 18px; }

.hbp-notice { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.hbp-notice-error { background: #f8d7da; color: #721c24; }

.hbp-auth-form { max-width: 400px; }
.hbp-auth-links { margin-top: 10px; font-size: 13px; }

.hbp-bookings-table { width: 100%; border-collapse: collapse; }
.hbp-bookings-table th, .hbp-bookings-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }

.hbp-status { padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.hbp-status-pending { background: #fff3cd; color: #856404; }
.hbp-status-confirmed { background: #d4edda; color: #155724; }
.hbp-status-cancelled { background: #f8d7da; color: #721c24; }
