/*============================================================================
   19-toret-forms.css — Toret formulářové stránky bez vlastního CSS:
   „Napište nám recenzi" ([tr_review_form], .tr-rf-*) a podobné.
   Formulář je vázaný na platný odkaz (token z e-mailu po pobytu) — bez něj
   plugin vypíše jen .tr-rf-error („Neplatný odkaz."). Stylujeme hlášku
   i samotná pole dopředu, aby formulář seděl, jakmile se zobrazí.
============================================================================*/

.nj-reviewform-section { background: var(--sand-1); padding: 44px 0 84px; }
.nj-reviewform-section > .et_pb_row {
	max-width: var(--container) !important;
	width: 92% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}
.nj-reviewform-section .tr-rf-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: var(--shadow);
	padding: 28px;
}

/* hlavička: titulek + souhrn objednávky (apartmán / termín) */
.nj-reviewform-section .tr-rf-header {
	margin-bottom: 1.4rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--line);
}
.nj-reviewform-section .tr-rf-title {
	margin: 0 0 .7rem;
	font-family: var(--font-serif);
	font-size: 1.7rem;
	color: var(--navy);
}
.nj-reviewform-section .tr-rf-order-info {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem 1.5rem;
	font-size: .92rem;
	color: var(--muted);
}
.nj-reviewform-section .tr-rf-order-info strong { color: var(--navy); font-weight: 600; }

/* hlášky */
.nj-reviewform-section .tr-rf-error,
.nj-reviewform-section .tr-rf-success {
	border-radius: var(--r-btn);
	padding: 14px 16px;
	font-size: .95rem;
}
.nj-reviewform-section .tr-rf-error {
	background: #fff4ee;
	border: 1px solid #f1cfbf;
	color: var(--coral);
}
.nj-reviewform-section .tr-rf-success {
	background: #eef7f0;
	border: 1px solid #cfe7d5;
	color: var(--green);
}

/* pole formuláře (generické – až se formulář zobrazí s platným odkazem) */
.nj-reviewform-section .tr-rf-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.nj-reviewform-section .tr-rf-wrap label {
	font-size: .7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted);
	margin-bottom: 6px;
}
.nj-reviewform-section .tr-rf-wrap input,
.nj-reviewform-section .tr-rf-wrap select,
.nj-reviewform-section .tr-rf-wrap textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--line);
	border-radius: var(--r-btn);
	padding: .65rem .8rem;
	font-family: inherit;
	font-size: .95rem;
	color: var(--navy);
	background: #fff;
}
.nj-reviewform-section .tr-rf-wrap input { height: 46px; }
.nj-reviewform-section .tr-rf-wrap textarea { min-height: 120px; resize: vertical; }
.nj-reviewform-section .tr-rf-wrap input:focus,
.nj-reviewform-section .tr-rf-wrap select:focus,
.nj-reviewform-section .tr-rf-wrap textarea:focus { outline: none; border-color: var(--accent); }

/* hvězdičkové hodnocení (.tr-rf-stars > label + .tr-rf-stars-row > .tr-rf-star) */
.nj-reviewform-section .tr-rf-stars { margin-bottom: 16px; }
.nj-reviewform-section .tr-rf-stars-row {
	display: flex;
	gap: 4px;
	margin-top: 6px;
	font-size: 1.8rem;
	line-height: 1;
}
.nj-reviewform-section .tr-rf-star {
	color: var(--line-2);
	cursor: pointer;
	transition: color .12s;
}
.nj-reviewform-section .tr-rf-star--active,
.nj-reviewform-section .tr-rf-stars .is-active { color: var(--accent); }

/* nápověda u pole (např. u nahrání fotky) + poznámka pod formulářem */
.nj-reviewform-section .tr-rf-field-hint {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	font-size: .78rem;
	color: var(--muted);
	margin-top: 4px;
}
.nj-reviewform-section .tr-rf-note {
	font-size: .82rem;
	color: var(--muted);
	margin-top: 1rem;
	text-align: center;
}

/* odeslat */
.nj-reviewform-section .tr-rf-wrap button,
.nj-reviewform-section .tr-rf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 1.8rem;
	background: var(--accent) !important;
	color: #fff !important;
	border: none;
	border-radius: var(--r-btn);
	font-family: inherit;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .03em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(251, 173, 36, .35);
	transition: background .2s;
}
.nj-reviewform-section .tr-rf-wrap button:hover,
.nj-reviewform-section .tr-rf-submit:hover { background: var(--accent-2) !important; }
