body.is_show_terms_popup {
	overflow-y: hidden;
}

.hr-suite-consent-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.68);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	animation: hrConsentFadeIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hrConsentFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes hrConsentSlideIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.hr-suite-consent-modal {
	width: 100%;
	max-width: var(--hr-popup-width, 42rem);
	max-height: var(--hr-popup-height, 85vh);
	display: flex;
	flex-direction: column;
	background: #ffffff;
	color: #111827;
	border: 1px solid rgba(17, 24, 39, 0.14);
	border-radius: var(--hr-popup-radius, 10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	animation: hrConsentSlideIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-suite-consent-modal--classic {
	background: #fcfaf5;
	border: 2px solid #374151;
	border-radius: 3px;
	font-family: Georgia, "Times New Roman", serif;
}
.hr-suite-consent-modal--classic .hr-suite-consent-header {
	background: #1f2937;
	color: #f9fafb;
}
.hr-suite-consent-modal--classic .hr-suite-consent-header h2,
.hr-suite-consent-modal--classic .hr-suite-consent-subtitle {
	color: #f9fafb;
}

.hr-suite-consent-modal--modern {
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.hr-suite-consent-modal--corporate {
	border-top: 4px solid #1d4ed8;
	border-radius: 4px;
}
.hr-suite-consent-modal--corporate .hr-suite-consent-header {
	background: #f8fafc;
}

.hr-suite-consent-modal--dark {
	background: #18181b;
	color: #f4f4f5;
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.hr-suite-consent-modal--dark .hr-suite-consent-header {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}
.hr-suite-consent-modal--dark .hr-suite-consent-header h2 {
	color: #ffffff;
}
.hr-suite-consent-modal--dark .hr-suite-consent-subtitle,
.hr-suite-consent-modal--dark .hr-suite-consent-version {
	color: #a1a1aa;
}
.hr-suite-consent-modal--dark .hr-suite-consent-footer {
	background: #27272a;
	border-top-color: rgba(255, 255, 255, 0.12);
}

.hr-suite-consent-modal--minimal {
	border-radius: 6px;
	border: 1px solid #d1d5db;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hr-suite-consent-header {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}
.hr-suite-consent-header h2 {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
}
.hr-suite-consent-subtitle {
	margin: 0;
	color: #4b5563;
	font-size: 0.9rem;
}

.hr-suite-consent-body {
	padding: 1rem 1.25rem;
	overflow-y: auto;
	flex: 1 1 auto;
	line-height: 1.6;
	font-size: var(--hr-popup-font-size, 1rem);
}
.hr-suite-consent-version {
	font-size: 0.85rem;
	color: #6b7280;
	margin-top: 0;
}

.hr-suite-consent-footer {
	padding: 1rem 1.25rem;
	border-top: 1px solid #e5e7eb;
	background: #f9fafb;
}

.hr-suite-consent-modal.is-loading .hr-suite-consent-actions {
	opacity: 0.55;
	pointer-events: none;
}

.hr-suite-consent-checkbox-row,
.hr-suite-consent-box__row,
.hr-suite-injected-checkbox {
	margin-bottom: 0.75rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.45;
}

.hr-suite-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.hr-suite-consent-btn {
	padding: 0.55rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--hr-btn-radius, 6px);
	font-weight: 600;
	cursor: pointer;
}
.hr-btn-small { padding: 0.35rem 0.8rem; font-size: 0.85rem; }
.hr-btn-medium { padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.hr-btn-large { padding: 0.8rem 1.5rem; font-size: 1.05rem; }

.hr-suite-consent-btn--accept {
	background: var(--hr-acc-bg, #1d4ed8);
	color: var(--hr-acc-fg, #ffffff);
}
.hr-suite-consent-btn--accept:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.hr-suite-consent-btn--decline {
	background: var(--hr-dec-bg, #e5e7eb);
	color: var(--hr-dec-fg, #111827);
}
.hr-suite-consent-feedback {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: #b91c1c;
}
.hr-suite-consent-feedback.is-success {
	color: #166534;
}

.hr-suite-consent-box {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 1rem;
	background: #f9fafb;
	margin: 1rem 0;
}
.hr-suite-consent-box__email {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 0.35rem 0 0.75rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}
.hr-suite-consent-box__feedback.is-error {
	color: #b91c1c;
}
.hr-suite-consent-box__feedback.is-success {
	color: #047857;
}

@media (max-width: 480px) {
	.hr-suite-consent-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.hr-suite-consent-btn {
		width: 100%;
	}
}
