/*============================================================================
   25-checkin.css — [tr_checkin_form] check-in formulář hosta
   Plugin Toret Rooms nedodává CSS → stylujeme jeho výstup `.tr-cf-*` do podoby
   šablony (v duchu 17-booking.css / 19-toret-forms.css). Komponenta se styluje
   přímo (funguje i na holé stránce); obalová sekce stránky = .nj-checkin-section
   (sand-1, šířka řady) → kill-list 13-divi-vb-fix.css.

   Markup (CheckIn\CheckInForm.php):
     .toret-rooms.tr-cf-wrap
        .tr-cf-header ( h2.tr-cf-title + .tr-cf-order-info )
        .tr-cf-notice | .tr-cf-success | .tr-cf-error
        form.tr-cf-form
           fieldset.tr-cf-person > legend + .tr-cf-grid > label ( span + input|select )
           .tr-cf-footer > button.tr-cf-submit
============================================================================*/

/* ── obalová sekce stránky ────────────────────────────────────────────────── */
.nj-checkin-section { background: var(--sand-1); padding: 40px 0 84px; }
.nj-checkin-section > .et_pb_row {
	max-width: var(--container) !important;
	width: 92% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

/* ── karta formuláře ──────────────────────────────────────────────────────── */
.tr-cf-wrap {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border-radius: var(--r-card);
	box-shadow: var(--shadow);
	padding: 32px;
}

/* hlavička: titulek + souhrn objednávky */
.tr-cf-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--line);
}
.tr-cf-title {
	margin: 0 0 .8rem;
	font-family: var(--font-serif);
	font-size: 1.7rem;
	color: var(--navy);
}
.tr-cf-order-info {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem 1.5rem;
	font-size: .92rem;
	color: var(--muted);
}
.tr-cf-order-info strong { color: var(--navy); font-weight: 600; }

/* hlášky */
.tr-cf-notice,
.tr-cf-success,
.tr-cf-error {
	border-radius: var(--r-btn);
	padding: .85rem 1.1rem;
	font-size: .92rem;
	margin-bottom: 1.2rem;
}
.tr-cf-notice  { background: #dce9f6; border: 1px solid #b9d3ec; color: #1f5b8f; }
.tr-cf-success { background: #e7f4ec; border: 1px solid #b6ddc4; color: #226c45; }
.tr-cf-error   { background: #fdecec; border: 1px solid var(--coral); color: #a3322a; }

/* ── osoba (fieldset) ─────────────────────────────────────────────────────── */
.tr-cf-person {
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 20px 22px 22px;
	margin: 0 0 1.2rem;
	background: var(--sand-1);
}
.tr-cf-person legend {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--navy);
	padding: 0 .5rem;
}

/* mřížka polí 2 sloupce */
.tr-cf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* pole = <label><span>popis</span><input|select></label> */
.tr-cf-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.tr-cf-grid label > span {
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted);
}
.tr-cf-grid input,
.tr-cf-grid select {
	width: 100%;
	min-width: 0;
	height: 46px;
	box-sizing: border-box;
	border: 1px solid var(--line);
	border-radius: var(--r-btn);
	padding: .65rem .85rem;
	font-family: inherit;
	font-size: .95rem;
	color: var(--navy);
	background: #fff;
}
.tr-cf-grid input:focus,
.tr-cf-grid select:focus { outline: none; border-color: var(--accent); }

/* pole „OP/pas": select druhu dokladu + číslo vedle sebe */
.tr-cf-grid .tr-cf-doc { display: flex; gap: 8px; }
.tr-cf-grid .tr-cf-doc-type { flex: 0 0 auto; width: auto; min-width: 150px; }
.tr-cf-grid .tr-cf-doc input { flex: 1 1 auto; min-width: 0; }

/* ── patička + odeslat ────────────────────────────────────────────────────── */
.tr-cf-footer { margin-top: 1.5rem; }
.tr-cf-submit {
	width: 100%;
	height: 50px;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: var(--r-btn);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .05em;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(251, 173, 36, .35);
	transition: background .2s;
}
.tr-cf-submit:hover { background: var(--accent-2); }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
	.tr-cf-wrap { padding: 22px; }
	.tr-cf-grid { grid-template-columns: 1fr; }
}
