/* DPDP Compliance Kit — banner styles */

#dpdpck-banner-root { pointer-events: none; }

.dpdpck-banner {
	position: fixed;
	left: 0; right: 0;
	background: #1e1e1e;
	color: #fff;
	padding: 18px 20px;
	z-index: 999999;
	box-shadow: 0 -2px 8px rgba(0,0,0,.25);
	pointer-events: auto;
	font-size: 15px;
	line-height: 1.5;
}
.dpdpck-banner.is-bottom { bottom: 0; }
.dpdpck-banner.is-top    { top: 0; box-shadow: 0 2px 8px rgba(0,0,0,.25); }

.dpdpck-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.dpdpck-banner-text { flex: 1 1 60%; min-width: 260px; }
.dpdpck-banner-text h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.dpdpck-banner-text p { margin: 0; color: #d7d7d7; }
.dpdpck-banner-text a { color: #7fbfff; }

.dpdpck-banner-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}
.dpdpck-btn {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.35);
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	font-family: inherit;
}
.dpdpck-btn:hover { background: rgba(255,255,255,.06); }
.dpdpck-btn.is-primary { background: #2271b1; border-color: #2271b1; }
.dpdpck-btn.is-primary:hover { background: #135e96; }

/* Modal / preferences overlay */
.dpdpck-modal-overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	pointer-events: auto;
}
.dpdpck-modal {
	background: #fff;
	color: #222;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	overflow: auto;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.dpdpck-modal h3 { margin-top: 0; }
.dpdpck-cat {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 12px 14px;
	margin: 10px 0;
}
.dpdpck-cat-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.dpdpck-cat-head strong { font-size: 15px; }
.dpdpck-cat-desc { color: #555; font-size: 14px; margin: 6px 0 0; }

.dpdpck-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
	flex: 0 0 40px;
}
.dpdpck-switch input { opacity: 0; width: 0; height: 0; }
.dpdpck-switch-slider {
	position: absolute; cursor: pointer; inset: 0;
	background: #ccc; border-radius: 22px; transition: .2s;
}
.dpdpck-switch-slider::before {
	content: ""; position: absolute; left: 3px; top: 3px;
	width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: .2s;
}
.dpdpck-switch input:checked + .dpdpck-switch-slider { background: #2271b1; }
.dpdpck-switch input:checked + .dpdpck-switch-slider::before { transform: translateX(18px); }
.dpdpck-switch input:disabled + .dpdpck-switch-slider { opacity: .55; cursor: not-allowed; }

.dpdpck-modal-actions {
	display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px;
}
.dpdpck-modal .dpdpck-btn { color: #222; border-color: #cfcfcf; }
.dpdpck-modal .dpdpck-btn.is-primary { color: #fff; }

/* Front-end request form */
.dpdpck-request-form .dpdpck-field { margin: 0 0 14px; }
.dpdpck-request-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.dpdpck-request-form input[type="text"],
.dpdpck-request-form input[type="email"],
.dpdpck-request-form input[type="tel"],
.dpdpck-request-form select,
.dpdpck-request-form textarea {
	width: 100%; padding: 8px 10px; border: 1px solid #bbb; border-radius: 4px; font-size: 15px;
}
.dpdpck-consent-field label { font-weight: 400; }
.dpdpck-consent-field input { margin-right: 6px; }
.dpdpck-submit {
	background: #2271b1; color: #fff; border: 0;
	padding: 10px 20px; border-radius: 6px; font-size: 15px; cursor: pointer;
}
.dpdpck-submit:hover { background: #135e96; }

.dpdpck-notice {
	padding: 10px 14px; border-radius: 4px; margin-bottom: 14px;
}
.dpdpck-notice-success { background: #edfaef; border: 1px solid #b7dfbe; color: #14572b; }
.dpdpck-notice-error { background: #fdecea; border: 1px solid #f5b5b0; color: #7a2018; }

.dpdpck-privacy-notice h2, .dpdpck-privacy-notice h3 { margin-top: 1.4em; }
.dpdpck-grievance-officer { background: #f6f7f9; border-left: 4px solid #2271b1; padding: 12px 16px; }
.dpdpck-grievance-officer ul { margin: 0; padding-left: 18px; }
