﻿/* =======================
   QUOTE FILTER PANEL
======================= */

#pnlQuoteFilter {
	display: grid;
	grid-template-columns: 100px 250px 100px 250px;
	gap: 12px;
	padding: 12px;
	justify-content: start; /* ← DIT is de sleutel */
}

	#pnlQuoteFilter .form-row {
		display: contents;
	}

	#pnlQuoteFilter label {
		text-align: right;
		white-space: nowrap;
		font-weight: 600;
	}

	#pnlQuoteFilter select {
		width: 100%;
		max-width: 300px;
		box-sizing: border-box;
	}


/* =======================
   OFFERTE SCHERM
======================= */

#pnlProjectQuote {
	margin-bottom: 20px;
}

.quote-blocks-host {
	margin-top: 10px;
	display: flex;
	align-items: stretch;
	gap: 8px;
}


/* =======================
   CONTAINER
======================= */

.quote-left {
	width: 280px;
	flex: 0 0 280px;
	min-height: 420px;
}

.quote-left-scroll {
	height: 100%;
	overflow-y: auto;
}

.quote-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

	.quote-right textarea {
		flex: 1;
		margin: 0;
	}

.quote-left .GridClass {
	width: 100%;
}


/* =======================
   LIJST LINKS
======================= */

#quoteBlockList {
	overflow-y: auto;
	display: block;
}

.quote-block-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.quote-block-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	margin-bottom: 8px;
	background: #f5f7f9;
	border: 1px solid #c9d2da;
	border-radius: 4px;
	cursor: move;
}

	.quote-block-item:hover {
		background: #e9eef3;
	}

.quote-link {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #1f2d3d;
	font-weight: 500;
}

.quote-block-item input[type="checkbox"] {
	margin-left: 10px;
	transform: scale(1.1);
}

.quote-delete-btn {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 12px;
	width: 16px;
	height: 16px;
	color: #d32f2f !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none;
	line-height: 16px;
	text-align: center;
	z-index: 10;
}


/* =======================
   RECHTERKANT
======================= */

.quote-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #d9e2ec;
	border: 1px solid #b8c4d0;
	border-bottom: none;
	padding: 10px 12px;
	font-weight: 600;
	font-size: 16px;
	border-radius: 4px 4px 0 0;
}

.quote-text-actions {
	display: flex;
	gap: 6px;
}

.icon-btn {
	font-size: 15px;
	padding: 4px 6px;
	text-decoration: none;
	border-radius: 4px;
}

	.icon-btn:hover {
		background-color: #e6e6e6;
	}


/* =======================
   EDITOR
======================= */

.quote-editor-area {
	display: flex;
	gap: 10px;
	align-items: stretch;
	height: 390px;
}

.editor-column {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.quote-textbox {
	width: 100%;
	height: 350px;
	border: 1px solid #b8c4d0;
	border-top: none;
	padding: 12px;
	box-sizing: border-box;
	border-radius: 0 0 4px 4px;
	resize: vertical;
}

	.quote-textbox[readonly] {
		background-color: #f2f2f2;
	}


/* =======================
   PLACEHOLDER
======================= */

.placeholder-box {
	flex: 0 0 260px;
	min-width: 240px;
	border: 1px solid #b8c4d0;
	background: #f5f7f9;
	border-radius: 4px;
	height: 390px;
}

.placeholder-header {
	background: #d9e2ec;
	border-bottom: 1px solid #b8c4d0;
	padding: 8px;
	font-weight: 600;
}

.placeholder-list {
	padding: 8px;
	height: 330px;
	overflow-y: auto;
	font-size: 12px;
}

.placeholder-item {
	cursor: pointer;
	margin-bottom: 4px;
	padding: 2px 4px;
	border-radius: 3px;
}

	.placeholder-item:hover {
		background: #e6edf5;
	}

.placeholder-group {
	margin-top: 10px;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 11px;
	color: #2b3a4a;
	text-transform: uppercase;
}
