/* ═══════════════════════════════════════════════════
   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;
	}
}

/* ═══════════════════════════════════════════════════
   Sumar rezervare
   ═══════════════════════════════════════════════════ */

.jr-sumar {
	max-width: 640px;
	margin: 0 auto;
}

.jr-sumar-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.jr-sumar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 28px;
	background: #2271b1;
	color: #fff;
}

.jr-sumar-titlu {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.jr-sumar-modifica {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
}

.jr-sumar-modifica:hover {
	color: #fff;
}

.jr-sumar-sectiune {
	padding: 24px 28px;
	border-bottom: 1px solid #f0f0f0;
}

.jr-sumar-sectiune h3 {
	margin: 0 0 14px 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #999;
}

.jr-sumar-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.jr-sumar-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.jr-sumar-label {
	font-size: 14px;
	color: #666;
	flex-shrink: 0;
}

.jr-sumar-value {
	font-size: 14px;
	color: #222;
	text-align: right;
}

.jr-sumar-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 2px solid #eee;
}

.jr-sumar-total .jr-sumar-label {
	font-size: 16px;
	font-weight: 700;
	color: #222;
}

.jr-sumar-pret-total {
	font-size: 26px;
	font-weight: 700;
	color: #2271b1;
}

.jr-sumar-actiuni {
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fafafa;
}

.jr-btn-plata {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: #00a32a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s;
}

.jr-btn-plata:hover {
	background: #007a1f;
}

.jr-btn-inapoi {
	display: block;
	text-align: center;
	color: #666;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}

.jr-btn-inapoi:hover {
	color: #333;
}

@media (max-width: 480px) {
	.jr-sumar-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.jr-sumar-sectiune {
		padding: 20px 18px;
	}
	.jr-sumar-actiuni {
		padding: 20px 18px;
	}
}

.jr-camera-disponibil {
	font-size: 13px;
	color: #00a32a;
	background: #edfaef;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: 600;
}
