/* ═══════════════════════════════════════════════════
   Jojo Rezervari — Frontend CSS
   ═══════════════════════════════════════════════════ */

/* ── Formular cautare ── */

.jr-cautare {
	width: 100%;
}

.jr-cautare-form {
	display: block;
}

.jr-cautare-fields {
	display: flex;
	gap: 16px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.jr-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 160px;
}

.jr-field label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.jr-field input[type="text"],
.jr-field select {
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
	height: 44px;
}

.jr-field input[type="text"]:focus,
.jr-field select:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34,113,177,0.15);
}

.jr-field-submit {
	flex: 0 0 auto;
	min-width: auto;
}

.jr-btn-cautare {
	padding: 10px 24px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	height: 44px;
	white-space: nowrap;
	transition: background 0.2s;
}

.jr-btn-cautare:hover {
	background: #135e96;
}

/* ── Rezultate ── */

.jr-rezultate {
	width: 100%;
	margin-top: 32px;
}

.jr-rezultate-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid #eee;
}

.jr-rezultate-info {
	font-size: 15px;
	color: #555;
	margin: 0;
}

.jr-fara-rezultate {
	padding: 32px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 8px;
	text-align: center;
	color: #666;
}

/* ── Grup pensiune ── */

.jr-pensiune-grup {
	margin-bottom: 40px;
}

.jr-pensiune-titlu {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin: 0 0 16px 0;
	padding-bottom: 10px;
	border-bottom: 3px solid #2271b1;
	display: inline-block;
}

.jr-camere-lista {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ── Card camera ── */

.jr-camera-card {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.jr-camera-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	border-color: #c5d5e8;
}

.jr-camera-info {
	flex: 1;
}

.jr-camera-nume {
	font-size: 17px;
	font-weight: 700;
	color: #222;
	margin: 0 0 8px 0;
}

.jr-camera-meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.jr-camera-capacitate,
.jr-camera-tip {
	font-size: 13px;
	color: #666;
	background: #f5f5f5;
	padding: 3px 10px;
	border-radius: 20px;
}

/* ── Pret ── */

.jr-camera-pret {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	min-width: 150px;
}

.jr-pret-noapte {
	font-size: 13px;
	color: #888;
}

.jr-pret-total {
	font-size: 22px;
	font-weight: 700;
	color: #2271b1;
}

.jr-pret-contact {
	font-size: 15px;
	color: #888;
	font-style: italic;
}

/* ── Buton rezerva ── */

.jr-camera-actiune {
	flex: 0 0 auto;
}

.jr-btn-rezerva {
	display: inline-block;
	padding: 10px 24px;
	background: #00a32a;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s;
}

.jr-btn-rezerva:hover {
	background: #007a1f;
}

/* ── Eroare ── */

.jr-eroare {
	padding: 14px 18px;
	background: #fcf0f1;
	border: 1px solid #d63638;
	border-radius: 6px;
	color: #d63638;
	font-weight: 600;
}

/* ── Responsive ── */

@media (max-width: 768px) {
	.jr-cautare-fields {
		flex-direction: column;
	}

	.jr-field {
		min-width: 100%;
	}

	.jr-field-submit {
		width: 100%;
	}

	.jr-btn-cautare {
		width: 100%;
	}

	.jr-camera-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.jr-camera-pret {
		align-items: flex-start;
	}

	.jr-btn-rezerva {
		width: 100%;
		text-align: center;
	}
}
