/* ========================================
   Let's Cruise — Offertes plugin
   Frontend styles — Claude design v0.3
   Brand: navy + ocean + sky
   ======================================== */

:root {
	--lcoff-primary: #0F75BC;
	--lcoff-navy: #0A2540;
	--lcoff-sky: #27A9E1;
	--lcoff-text: #1A2A3E;
	--lcoff-text-mid: #3D5773;
	--lcoff-text-muted: #6B7E96;
	--lcoff-bg-subtle: #F6FAFD;
	--lcoff-bg-accent: #EAF6FC;
	--lcoff-border: #E4ECF3;
	--lcoff-success: #36c97b;
	--lcoff-radius: 14px;
	--lcoff-radius-lg: 18px;
	--lcoff-radius-pill: 999px;
	--lcoff-shadow: 0 1px 2px rgba(10,37,64,0.04), 0 8px 24px rgba(10,37,64,0.06);
}

/* === PORTAAL (klant-omgeving) === */
.lcoff-portaal-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 80px;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}
@media (min-width: 1024px) { .lcoff-portaal-page { padding: 40px 80px 80px; } }

.lcoff-portaal {
	color: var(--lcoff-text);
}
.lcoff-portaal-header {
	background: linear-gradient(135deg, #0F75BC 0%, #27A9E1 100%);
	color: #fff;
	padding: 48px 40px;
	border-radius: var(--lcoff-radius-lg);
	margin-bottom: 32px;
}
.lcoff-portaal-header h1 {
	margin: 0 0 8px;
	font-size: 38px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -1px;
	line-height: 1.05;
}
.lcoff-portaal-header p {
	margin: 0;
	font-size: 17px;
	color: rgba(255,255,255,0.92);
	max-width: 640px;
	line-height: 1.55;
}

.lcoff-portaal-offerte {
	background: #fff;
	border: 1px solid var(--lcoff-border);
	border-radius: var(--lcoff-radius-lg);
	box-shadow: var(--lcoff-shadow);
	padding: 28px 32px;
	margin-bottom: 20px;
	transition: box-shadow 0.2s ease;
}
.lcoff-portaal-offerte:hover {
	box-shadow: 0 4px 14px rgba(10,37,64,0.06), 0 24px 60px rgba(10,37,64,0.10);
}

.lcoff-portaal-offerte-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--lcoff-border);
}
.lcoff-portaal-offerte-head h2 {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: var(--lcoff-navy);
	letter-spacing: -0.3px;
}
.lcoff-portaal-offerte-head small {
	font-size: 13px;
	color: var(--lcoff-text-muted);
}

.lcoff-status-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 13px;
	border-radius: var(--lcoff-radius-pill);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	white-space: nowrap;
}

.lcoff-portaal-offerte-summary dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 0;
}
.lcoff-portaal-offerte-summary dt {
	font-size: 11px;
	font-weight: 700;
	color: var(--lcoff-text-muted);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.lcoff-portaal-offerte-summary dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--lcoff-navy);
}

.lcoff-portaal-thread {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--lcoff-border);
}
.lcoff-portaal-thread summary {
	font-size: 14px;
	font-weight: 700;
	color: var(--lcoff-primary);
	cursor: pointer;
	padding: 8px 0;
}
.lcoff-portaal-thread summary:hover { color: var(--lcoff-navy); }
.lcoff-portaal-thread ul {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.lcoff-msg {
	padding: 16px;
	border-radius: var(--lcoff-radius);
	margin-bottom: 12px;
	border: 1px solid var(--lcoff-border);
}
.lcoff-msg-admin {
	background: var(--lcoff-bg-accent);
	border-color: var(--lcoff-primary);
}
.lcoff-msg-klant {
	background: #fff;
}
.lcoff-msg-system {
	background: #f9fafb;
	color: var(--lcoff-text-muted);
	font-size: 13px;
}
.lcoff-msg-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	color: var(--lcoff-text-muted);
	margin-bottom: 6px;
}
.lcoff-msg-meta strong {
	color: var(--lcoff-navy);
	font-weight: 700;
}
.lcoff-msg-body {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--lcoff-text);
}

.lcoff-portaal-footer {
	margin-top: 40px;
	padding: 24px 28px;
	background: var(--lcoff-bg-accent);
	border-radius: var(--lcoff-radius-lg);
	text-align: center;
}
.lcoff-portaal-footer p {
	margin: 0;
	color: var(--lcoff-text-mid);
	font-size: 15px;
}
.lcoff-portaal-footer a {
	color: var(--lcoff-primary);
	font-weight: 700;
	text-decoration: none;
}
.lcoff-portaal-footer a:hover { color: var(--lcoff-navy); }

@media (max-width: 700px) {
	.lcoff-portaal-header { padding: 32px 24px; }
	.lcoff-portaal-header h1 { font-size: 28px; }
	.lcoff-portaal-offerte { padding: 20px; }
	.lcoff-portaal-offerte-head { flex-direction: column; align-items: flex-start; }
	.lcoff-portaal-offerte-head h2 { font-size: 18px; }
}

/* === Form gebruikt nu de .lc-quote / .lc-form classes uit letscruise plugin === */
/* Geen styling hier nodig; theme zorgt voor consistente look */

/* === v0.5.3: Uitgebrachte offerte in portaal === */
.lcoff-portaal-offer {
	margin-top: 20px;
	padding: 20px;
	background: #f0f7ff;
	border-left: 4px solid var(--lcoff-primary, #1A6CA8);
	border-radius: 6px;
}
.lcoff-portaal-offer h3 {
	margin: 0 0 12px;
	color: var(--lcoff-navy, #0F4C81);
	font-size: 17px;
}
.lcoff-portaal-offer-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}
.lcoff-portaal-offer-table td {
	padding: 10px 0;
	border-bottom: 1px solid rgba(15, 76, 129, 0.1);
	vertical-align: top;
	font-size: 14px;
	color: #333;
}
.lcoff-portaal-offer-table td.amount {
	text-align: right;
	font-weight: 700;
	color: var(--lcoff-navy, #0F4C81);
	white-space: nowrap;
	padding-left: 12px;
}
.lcoff-portaal-offer-table tr.totaal-row td {
	border-top: 2px solid var(--lcoff-primary, #1A6CA8);
	border-bottom: none;
	padding-top: 14px;
	font-size: 16px;
}
.lcoff-portaal-offer-desc {
	color: #666;
	font-size: 12.5px;
	margin-top: 3px;
	line-height: 1.4;
}

.lcoff-portaal-payment {
	margin-top: 18px;
	padding: 14px 16px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid rgba(15, 76, 129, 0.15);
}
.lcoff-portaal-payment h4 {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--lcoff-navy, #0F4C81);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.lcoff-portaal-payment table { width: 100%; border-collapse: collapse; }
.lcoff-portaal-payment td {
	padding: 8px 0;
	font-size: 14px;
	vertical-align: top;
}
.lcoff-portaal-payment td.amount {
	text-align: right;
	font-weight: 700;
	color: var(--lcoff-navy, #0F4C81);
	white-space: nowrap;
}
.lcoff-portaal-payment .payment-due {
	color: #666;
	font-size: 12.5px;
	margin-top: 2px;
}
.lcoff-portaal-payment tr + tr td { border-top: 1px solid #eef2f6; }

.lcoff-portaal-brochure-cta {
	margin: 20px 0 0;
	text-align: center;
}
.lcoff-portaal-brochure-cta a {
	display: inline-block;
	background: var(--lcoff-navy, #0F4C81);
	color: #fff !important;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	transition: background 0.15s;
}
.lcoff-portaal-brochure-cta a:hover {
	background: var(--lcoff-primary, #1A6CA8);
}

.lcoff-portaal-offer-empty {
	margin-top: 20px;
	padding: 16px 20px;
	background: #fff8e1;
	border-left: 4px solid #f5b400;
	border-radius: 6px;
	color: #5b4500;
	font-size: 14px;
}

/* === v0.5.4: aanbetaling-breakdown in portaal === */
.lcoff-portaal-payment-breakdown {
	margin: 0 0 14px;
	padding: 12px 14px;
	background: #f5f9fc;
	border-radius: 4px;
	font-size: 13px;
}
.lcoff-portaal-payment-breakdown .breakdown-title {
	color: var(--lcoff-navy, #0F4C81);
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 6px;
}
.lcoff-portaal-payment-breakdown table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.lcoff-portaal-payment-breakdown td {
	padding: 3px 14px 3px 0;
}
.lcoff-portaal-payment-breakdown td.num { text-align: right; font-family: monospace; }
.lcoff-portaal-payment-breakdown td.pct { color: #888; }
.lcoff-portaal-payment-breakdown td.result {
	text-align: right;
	font-family: monospace;
	color: var(--lcoff-navy, #0F4C81);
	font-weight: 600;
}
