/**
 * HJS UPS Calculator - Frontend Styles
 *
 * @package HJS_UPS_Calculator
 */

/* === CSS Variables === */
:root {
	--hjs-primary: #0056b3;
	--hjs-secondary: #00a651;
	--hjs-text: #333;
	--hjs-text-light: #666;
	--hjs-bg: #f8f9fa;
	--hjs-bg-white: #fff;
	--hjs-border: #dee2e6;
	--hjs-error: #dc3545;
	--hjs-success: #28a745;
	--hjs-radius: 8px;
	--hjs-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	--hjs-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
	--hjs-transition: 0.25s ease;
}

/* === Wrap === */
.hjs-ups-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: var(--hjs-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.hjs-ups-wrap * {
	box-sizing: border-box;
}

/* === Header === */
.hjs-ups-header {
	text-align: center;
	padding: 30px 20px 20px;
	background: linear-gradient(135deg, var(--hjs-primary), color-mix(in srgb, var(--hjs-primary) 80%, #000));
	border-radius: var(--hjs-radius) var(--hjs-radius) 0 0;
	color: #fff;
}

.hjs-ups-logo {
	max-height: 50px;
	margin-bottom: 12px;
}

.hjs-ups-title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.hjs-ups-subtitle {
	margin: 0;
	font-size: 15px;
	opacity: 0.9;
}

.hjs-ups-social-proof {
	margin: 12px 0 0;
	font-size: 13px;
	opacity: 0.8;
}

.hjs-ups-social-proof .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 4px;
}

/* === Form === */
.hjs-ups-form {
	background: var(--hjs-bg-white);
	padding: 30px 25px;
	border: 1px solid var(--hjs-border);
	border-top: none;
}

.hjs-ups-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* === Fields === */
.hjs-ups-field {
	margin-bottom: 0;
}

.hjs-ups-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hjs-text);
	margin-bottom: 6px;
}

.hjs-ups-required {
	color: var(--hjs-error);
}

.hjs-ups-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.hjs-ups-input,
.hjs-ups-select {
	width: 100%;
	padding: 10px 14px;
	font-size: 15px;
	border: 2px solid var(--hjs-border);
	border-radius: 6px;
	background: var(--hjs-bg-white);
	color: var(--hjs-text);
	transition: border-color var(--hjs-transition), box-shadow var(--hjs-transition);
	appearance: none;
	-webkit-appearance: none;
}

.hjs-ups-input:focus,
.hjs-ups-select:focus {
	outline: none;
	border-color: var(--hjs-primary);
	box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.hjs-ups-input.hjs-ups-input-error,
.hjs-ups-select.hjs-ups-input-error {
	border-color: var(--hjs-error);
}

.hjs-ups-input-suffix {
	position: absolute;
	right: 14px;
	font-size: 14px;
	color: var(--hjs-text-light);
	pointer-events: none;
	font-weight: 600;
}

.hjs-ups-input-wrap .hjs-ups-input {
	padding-right: 50px;
}

.hjs-ups-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.hjs-ups-help-text {
	display: block;
	font-size: 12px;
	color: var(--hjs-text-light);
	margin-top: 4px;
}

.hjs-ups-error {
	display: block;
	font-size: 12px;
	color: var(--hjs-error);
	margin-top: 4px;
	min-height: 16px;
}

/* === Tooltip === */
.hjs-ups-tooltip {
	position: relative;
	cursor: help;
	display: inline-flex;
	align-items: center;
}

.hjs-ups-tooltip .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--hjs-primary);
	opacity: 0.7;
}

.hjs-ups-tooltip:hover .dashicons,
.hjs-ups-tooltip:focus .dashicons {
	opacity: 1;
}

.hjs-ups-tooltip-text {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--hjs-text);
	color: #fff;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	width: 250px;
	z-index: 100;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--hjs-transition);
	box-shadow: var(--hjs-shadow);
}

.hjs-ups-tooltip-text::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: var(--hjs-text);
}

.hjs-ups-tooltip:hover .hjs-ups-tooltip-text,
.hjs-ups-tooltip:focus .hjs-ups-tooltip-text {
	opacity: 1;
}

/* === Buttons === */
.hjs-ups-form-actions {
	text-align: center;
	margin-top: 25px;
}

.hjs-ups-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all var(--hjs-transition);
	text-decoration: none;
	line-height: 1.4;
}

.hjs-ups-btn:focus {
	outline: 2px solid var(--hjs-primary);
	outline-offset: 2px;
}

.hjs-ups-btn-primary {
	background: var(--hjs-primary);
	color: #fff;
}

.hjs-ups-btn-primary:hover {
	background: color-mix(in srgb, var(--hjs-primary) 85%, #000);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.hjs-ups-btn-secondary {
	background: var(--hjs-secondary);
	color: #fff;
}

.hjs-ups-btn-secondary:hover {
	background: color-mix(in srgb, var(--hjs-secondary) 85%, #000);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.hjs-ups-btn-outline {
	background: transparent;
	color: var(--hjs-primary);
	border: 2px solid var(--hjs-primary);
}

.hjs-ups-btn-outline:hover {
	background: var(--hjs-primary);
	color: #fff;
}

.hjs-ups-btn-sm {
	padding: 6px 14px;
	font-size: 13px;
}

.hjs-ups-btn-full {
	width: 100%;
}

.hjs-ups-btn-whatsapp {
	background: #25d366;
	color: #fff;
	margin-top: 10px;
}

.hjs-ups-btn-whatsapp:hover {
	background: #1da851;
}

.hjs-ups-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

.hjs-ups-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* === Spinner === */
.hjs-ups-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: hjs-spin 0.6s linear infinite;
}

@keyframes hjs-spin {
	to { transform: rotate(360deg); }
}

/* === Results === */
.hjs-ups-results {
	background: var(--hjs-bg-white);
	padding: 30px 25px;
	border: 1px solid var(--hjs-border);
	border-top: 3px solid var(--hjs-secondary);
	animation: hjs-fadeIn 0.4s ease;
}

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

.hjs-ups-results-title {
	font-size: 20px;
	margin: 0 0 20px;
	color: var(--hjs-primary);
}

.hjs-ups-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 25px;
}

/* === Result Cards === */
.hjs-ups-result-card {
	background: var(--hjs-bg);
	border-radius: var(--hjs-radius);
	padding: 20px 15px;
	text-align: center;
	border: 1px solid var(--hjs-border);
	transition: transform var(--hjs-transition), box-shadow var(--hjs-transition);
}

.hjs-ups-result-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--hjs-shadow);
}

.hjs-ups-result-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--hjs-primary);
	margin-bottom: 8px;
}

.hjs-ups-result-label {
	display: block;
	font-size: 12px;
	color: var(--hjs-text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.hjs-ups-result-value {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: var(--hjs-primary);
	line-height: 1.2;
}

.hjs-ups-result-unit {
	display: block;
	font-size: 13px;
	color: var(--hjs-text-light);
}

/* === Models Preview === */
.hjs-ups-models-preview h4 {
	font-size: 16px;
	color: var(--hjs-text);
	margin: 0 0 12px;
}

.hjs-ups-models-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hjs-ups-model-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: var(--hjs-bg);
	border-radius: 6px;
	border: 1px solid var(--hjs-border);
	font-size: 14px;
}

.hjs-ups-model-info {
	flex: 1;
}

.hjs-ups-model-brand {
	font-weight: 600;
	color: var(--hjs-primary);
}

.hjs-ups-model-name {
	color: var(--hjs-text);
}

.hjs-ups-model-specs {
	font-size: 12px;
	color: var(--hjs-text-light);
	margin-top: 2px;
}

.hjs-ups-model-badge {
	background: var(--hjs-secondary);
	color: #fff;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

/* === Specification Summary === */
.hjs-ups-spec-summary {
	margin: 20px 0;
	position: relative;
}

.hjs-ups-spec-summary h4 {
	font-size: 16px;
	margin: 0 0 10px;
}

.hjs-ups-spec-text {
	background: var(--hjs-bg);
	border: 1px solid var(--hjs-border);
	border-radius: 6px;
	padding: 15px;
	font-size: 13px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-wrap: break-word;
	font-family: "SFMono-Regular", Consolas, monospace;
	margin: 0 0 10px;
	max-height: 200px;
	overflow-y: auto;
}

/* === CTA Box === */
.hjs-ups-cta-box {
	background: linear-gradient(135deg, #f0f8ff, #e8f5e9);
	border: 2px solid var(--hjs-secondary);
	border-radius: var(--hjs-radius);
	padding: 25px;
	text-align: center;
	margin-top: 25px;
}

.hjs-ups-cta-content {
	display: flex;
	align-items: center;
	gap: 15px;
	text-align: left;
	margin-bottom: 18px;
}

.hjs-ups-cta-content > .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: var(--hjs-secondary);
	flex-shrink: 0;
}

.hjs-ups-cta-content strong {
	display: block;
	font-size: 16px;
	margin-bottom: 4px;
}

.hjs-ups-cta-content p {
	margin: 0;
	font-size: 13px;
	color: var(--hjs-text-light);
}

/* === Modal === */
.hjs-ups-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: hjs-fadeIn 0.3s ease;
}

.hjs-ups-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}

.hjs-ups-modal-content {
	position: relative;
	background: var(--hjs-bg-white);
	border-radius: 12px;
	padding: 35px 30px;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--hjs-shadow-lg);
	animation: hjs-slideUp 0.3s ease;
}

@keyframes hjs-slideUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.hjs-ups-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	color: var(--hjs-text-light);
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color var(--hjs-transition);
}

.hjs-ups-modal-close:hover {
	color: var(--hjs-text);
}

.hjs-ups-modal-content h3 {
	margin: 0 0 8px;
	font-size: 22px;
	color: var(--hjs-primary);
}

.hjs-ups-modal-subtitle {
	margin: 0 0 20px;
	color: var(--hjs-text-light);
	font-size: 14px;
}

.hjs-ups-optional-fields {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px dashed var(--hjs-border);
}

.hjs-ups-optional-label {
	font-size: 12px;
	color: var(--hjs-text-light);
	margin: 0 0 12px;
	font-style: italic;
}

.hjs-ups-form-row {
	display: flex;
	gap: 12px;
}

.hjs-ups-field-half {
	flex: 1;
}

.hjs-ups-modal .hjs-ups-field {
	margin-bottom: 14px;
}

/* === Consent Checkbox === */
.hjs-ups-consent-field {
	margin-top: 15px !important;
}

.hjs-ups-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--hjs-text-light);
	cursor: pointer;
}

.hjs-ups-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--hjs-primary);
}

.hjs-ups-checkbox-label a {
	color: var(--hjs-primary);
}

/* === Success State === */
.hjs-ups-modal-success {
	text-align: center;
	padding: 20px 0;
	animation: hjs-fadeIn 0.4s ease;
}

.hjs-ups-success-icon .dashicons {
	font-size: 64px;
	width: 64px;
	height: 64px;
	color: var(--hjs-success);
	margin-bottom: 15px;
}

.hjs-ups-modal-success h3 {
	color: var(--hjs-success);
	text-align: center;
}

.hjs-ups-modal-success p {
	color: var(--hjs-text-light);
	margin-bottom: 20px;
}

/* === Wide Modal (unified overlay) === */
.hjs-ups-modal-wide {
	max-width: 680px;
}

/* === Step Indicator === */
.hjs-ups-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hjs-border);
}

.hjs-ups-step {
	font-size: 13px;
	font-weight: 500;
	color: var(--hjs-text-light);
	opacity: 0.5;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.hjs-ups-step.hjs-ups-step-active {
	opacity: 1;
	color: var(--hjs-primary);
}

.hjs-ups-step-divider {
	width: 24px;
	height: 2px;
	background: var(--hjs-border);
	border-radius: 1px;
}

.hjs-ups-step-divider + .hjs-ups-step-active ~ .hjs-ups-step-divider,
.hjs-ups-step-active + .hjs-ups-step-divider {
	background: var(--hjs-primary);
}

/* === Step Panels === */
.hjs-ups-modal-step {
	animation: hjs-fadeIn 0.3s ease;
}

.hjs-ups-modal-step-title {
	margin: 0 0 8px;
	font-size: 22px;
	color: var(--hjs-primary);
}

/* === Step Actions (back + submit row) === */
.hjs-ups-step-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}

.hjs-ups-step-actions .hjs-ups-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.hjs-ups-step-actions .hjs-ups-btn-outline .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* === Responsive — Tablet (≤768px) === */
@media (max-width: 768px) {
	.hjs-ups-form-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hjs-ups-results-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hjs-ups-form {
		padding: 20px 16px;
	}

	.hjs-ups-results {
		padding: 20px 16px;
	}

	.hjs-ups-title {
		font-size: 20px;
	}

	.hjs-ups-result-value {
		font-size: 24px;
	}

	.hjs-ups-cta-content {
		flex-direction: column;
		text-align: center;
	}

	/* Modal: full-screen on mobile for usability */
	.hjs-ups-modal {
		align-items: flex-end;
	}

	.hjs-ups-modal-content {
		width: 100%;
		max-width: 100%;
		max-height: 95vh;
		border-radius: 16px 16px 0 0;
		padding: 20px 16px;
		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.hjs-ups-modal-wide {
		max-width: 100%;
	}

	.hjs-ups-modal-content h3 {
		font-size: 18px;
		padding-right: 32px;
	}

	.hjs-ups-modal-step-title {
		font-size: 18px;
	}

	.hjs-ups-modal-subtitle {
		font-size: 13px;
	}

	/* Larger close button touch target */
	.hjs-ups-modal-close {
		top: 8px;
		right: 8px;
		font-size: 32px;
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.hjs-ups-form-row {
		flex-direction: column;
		gap: 0;
	}

	.hjs-ups-model-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.hjs-ups-step-actions {
		flex-direction: column-reverse;
	}

	.hjs-ups-step-actions .hjs-ups-btn {
		width: 100%;
		justify-content: center;
	}

	.hjs-ups-steps {
		gap: 6px;
	}

	.hjs-ups-step {
		font-size: 12px;
	}

	.hjs-ups-step-divider {
		width: 16px;
	}

	/* CTA box tighter on mobile */
	.hjs-ups-cta-box {
		padding: 16px;
		margin-top: 16px;
	}

	.hjs-ups-cta-content > .dashicons {
		font-size: 32px;
		width: 32px;
		height: 32px;
	}

	.hjs-ups-cta-content strong {
		font-size: 14px;
	}

	/* Spec text smaller on mobile */
	.hjs-ups-spec-text {
		font-size: 11px;
		padding: 12px;
		max-height: 150px;
	}

	/* Success state */
	.hjs-ups-success-icon .dashicons {
		font-size: 48px;
		width: 48px;
		height: 48px;
	}

	/* Tooltip: reposition to not overflow screen */
	.hjs-ups-tooltip-text {
		left: auto;
		right: -8px;
		transform: none;
		width: 220px;
	}

	.hjs-ups-tooltip-text::after {
		left: auto;
		right: 12px;
		transform: none;
	}
}

/* === Responsive — Mobile (≤480px) === */
@media (max-width: 480px) {
	.hjs-ups-header {
		padding: 20px 15px 15px;
	}

	.hjs-ups-title {
		font-size: 18px;
	}

	/* Prevent iOS auto-zoom on input focus: font-size must be ≥16px */
	.hjs-ups-input,
	.hjs-ups-select {
		font-size: 16px;
		padding: 12px 14px;
	}

	.hjs-ups-input-wrap .hjs-ups-input {
		padding-right: 50px;
	}

	/* Bigger touch targets on buttons (min 44px height) */
	.hjs-ups-btn {
		padding: 12px 20px;
		font-size: 15px;
		min-height: 44px;
	}

	/* Results cards: horizontal layout for compact display */
	.hjs-ups-result-card {
		display: flex;
		align-items: center;
		gap: 12px;
		text-align: left;
		padding: 14px;
	}

	.hjs-ups-result-icon {
		flex-shrink: 0;
	}

	.hjs-ups-result-icon .dashicons {
		font-size: 24px;
		width: 24px;
		height: 24px;
		margin-bottom: 0;
	}

	.hjs-ups-result-value {
		font-size: 22px;
		display: inline;
	}

	.hjs-ups-result-unit {
		display: inline;
		margin-left: 4px;
	}

	.hjs-ups-result-label {
		font-size: 11px;
		margin-bottom: 2px;
	}

	/* Modal even tighter */
	.hjs-ups-modal-content {
		padding: 16px 14px;
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 12px 12px 0 0;
	}

	.hjs-ups-modal-content h3 {
		font-size: 17px;
	}

	/* Consent text smaller */
	.hjs-ups-checkbox-label {
		font-size: 12px;
	}

	/* Model items */
	.hjs-ups-model-specs {
		font-size: 11px;
	}

	.hjs-ups-model-badge {
		font-size: 10px;
		padding: 3px 8px;
	}

	/* Tooltip: full-width pop on very small screens */
	.hjs-ups-tooltip-text {
		position: fixed;
		bottom: auto;
		top: 50%;
		left: 50% !important;
		right: auto !important;
		transform: translate(-50%, -50%) !important;
		width: calc(100vw - 40px);
		max-width: 300px;
		z-index: 100001;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}

	.hjs-ups-tooltip-text::after {
		display: none;
	}
}

/* === Small height (landscape mobile) === */
@media (max-height: 600px) and (max-width: 768px) {
	.hjs-ups-modal-content {
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 0;
	}

	.hjs-ups-results-title {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.hjs-ups-results-grid {
		gap: 8px;
	}

	.hjs-ups-result-card {
		padding: 10px;
	}

	.hjs-ups-steps {
		margin-bottom: 12px;
		padding-bottom: 10px;
	}
}

/* === CTA Entry Mode === */
.hjs-ups-cta-entry {
	text-align: center;
	padding: 40px 20px;
}

.hjs-ups-btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 32px;
	font-size: 20px;
	font-weight: 700;
	background: #28a745;
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(40, 167, 69, 0.35);
	line-height: 1.4;
	max-width: 100%;
}

.hjs-ups-btn-cta:hover {
	transform: translateY(-3px);
	background: #218838;
	box-shadow: 0 8px 30px rgba(33, 136, 56, 0.45);
}

.hjs-ups-btn-cta:active {
	transform: translateY(-1px);
}

.hjs-ups-btn-cta .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
}

/* Header inside modal (CTA mode) */
.hjs-ups-header-modal {
	border-radius: var(--hjs-radius) var(--hjs-radius) 0 0;
	margin: -25px -25px 0;
	padding: 25px 25px 20px;
}

/* Form inside modal (CTA mode) */
#hjs-ups-step-input .hjs-ups-form {
	border: none;
	padding: 25px 0 0;
}

@media (max-width: 600px) {
	.hjs-ups-cta-entry {
		padding: 25px 15px;
	}

	.hjs-ups-btn-cta {
		padding: 14px 28px;
		font-size: 17px;
		width: 100%;
	}

	.hjs-ups-btn-cta .dashicons {
		font-size: 22px;
		width: 22px;
		height: 22px;
	}

	.hjs-ups-header-modal {
		margin: -15px -15px 0;
		padding: 20px 15px 15px;
	}

	#hjs-ups-step-input .hjs-ups-form {
		padding: 15px 0 0;
	}
}

/* === Accessibility: Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
	.hjs-ups-spinner {
		animation: none;
	}

	.hjs-ups-results,
	.hjs-ups-modal,
	.hjs-ups-modal-content,
	.hjs-ups-modal-success,
	.hjs-ups-modal-step {
		animation: none;
	}

	.hjs-ups-btn:hover,
	.hjs-ups-result-card:hover {
		transform: none;
	}
}

/* === Print Styles === */
@media print {
	.hjs-ups-modal,
	.hjs-ups-cta-box,
	.hjs-ups-form-actions,
	#hjs-ups-copy-spec {
		display: none !important;
	}
}
