/* Cookie consent - usedtrucks.gr (colours follow the site's blue/orange theme) */
#cc-root {
	display: none;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	font-family: 'Ubuntu', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #222;
}
#cc-root .cc-box {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	border-top: 5px solid #006394;
	border-radius: 6px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, .35);
	padding: 18px 20px 16px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	box-sizing: border-box;
}
#cc-root .cc-title {
	font-size: 17px;
	font-weight: 700;
	color: #006394;
	margin: 0 0 6px;
}
#cc-root p { margin: 0 0 10px; }
#cc-root a { color: #006394; text-decoration: underline; }
#cc-root [hidden] { display: none !important; }

#cc-root .cc-prefs {
	border-top: 1px solid #e3e3e3;
	margin: 6px 0 10px;
	padding-top: 6px;
}
#cc-root .cc-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: normal;
	margin: 8px 0;
	cursor: pointer;
}
#cc-root .cc-row input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
#cc-root .cc-row span { font-size: 13px; color: #444; }
#cc-root .cc-row strong { color: #222; font-size: 14px; }

#cc-root .cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cc-btn {
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: 4px;
	border: 2px solid #006394;
	background: #fff;
	color: #006394;
	cursor: pointer;
	line-height: 1.2;
}
.cc-btn:hover, .cc-btn:focus { background: #eaf3f8; outline: none; }
.cc-btn:focus-visible { box-shadow: 0 0 0 3px #f5ad2a; }
.cc-btn-primary { background: #006394; color: #fff; }
.cc-btn-primary:hover, .cc-btn-primary:focus { background: #004f76; color: #fff; }

@media (max-width: 520px) {
	#cc-root { left: 8px; right: 8px; bottom: 8px; }
	#cc-root .cc-actions .cc-btn { flex: 1 1 100%; }
}

/* Placeholder shown instead of a Google Map until the visitor allows it */
.cc-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef2f5 repeating-linear-gradient(45deg, #eef2f5 0 14px, #e6ebef 14px 28px);
	border: 1px solid #d5dde3;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 10px;
}
.cc-placeholder .cc-ph-inner { max-width: 420px; background: #fff; padding: 16px 18px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.cc-placeholder .cc-ph-title { font-weight: 700; color: #006394; font-size: 16px; margin: 0 0 6px; }
.cc-placeholder p { margin: 0 0 10px; font-size: 13px; }
.cc-placeholder .cc-btn { margin: 3px; }

/* Privacy policy page */
.policy h3 { margin-top: 26px; color: #006394; }
.policy table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 13px; }
.policy th, .policy td { border: 1px solid #ccc; padding: 6px 8px; text-align: left; vertical-align: top; }
.policy th { background: #eef2f5; }
.policy .table-wrap { overflow-x: auto; }
