/* Zenit Print Calculator v2 */

.zpc-wrapper *,
.zpc-wrapper *::before,
.zpc-wrapper *::after { box-sizing: border-box !important; }

.zpc-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	line-height: 1.6 !important;
	color: #1e293b;
}

/* ===== HERO ===== */
.zpc-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
	border-radius: 20px 20px 0 0;
	padding: 48px 40px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.zpc-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.zpc-hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.zpc-hero-inner {
	position: relative;
	z-index: 1;
}

.zpc-hero-badge {
	display: inline-block;
	background: rgba(99, 102, 241, 0.2);
	color: #a5b4fc;
	padding: 4px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 16px;
	border: 1px solid rgba(99, 102, 241, 0.3);
}

.zpc-hero-title {
	color: #f8fafc !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	margin: 0 0 12px !important;
	letter-spacing: -0.5px;
	border: none !important;
	padding: 0 !important;
	background: none !important;
}

.zpc-hero-desc {
	color: #94a3b8 !important;
	font-size: 16px !important;
	max-width: 560px;
	margin: 0 auto !important;
	line-height: 1.7 !important;
}

/* ===== BODY ===== */
.zpc-body {
	background: #ffffff;
	border-radius: 0 0 20px 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	padding: 36px 40px 40px;
}

.zpc-body-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
}

.zpc-section-label {
	font-size: 14px;
	font-weight: 700;
	color: #6366f1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eef2ff;
}

/* ===== OPTION CARDS ===== */
.zpc-field {
	margin-bottom: 22px !important;
}

.zpc-field-row {
	display: flex;
	gap: 16px;
	margin-bottom: 22px;
}

.zpc-field--half {
	flex: 1;
}

.zpc-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.zpc-option-cards {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.zpc-opt-card {
	position: relative;
	cursor: pointer;
	flex: 1;
	min-width: 70px;
}

.zpc-opt-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.zpc-opt-card-inner {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
	text-align: center;
	transition: all 0.15s ease;
}

.zpc-opt-card:hover .zpc-opt-card-inner {
	border-color: #a5b4fc;
	background: #eef2ff;
}

.zpc-opt-card input:checked + .zpc-opt-card-inner {
	background: #eef2ff;
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.zpc-opt-card input:checked + .zpc-opt-card-inner .zpc-opt-title {
	color: #4f46e5;
	font-weight: 700;
}

.zpc-opt-title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.zpc-opt-sub {
	display: block;
	font-size: 11px;
	color: #94a3b8;
	margin-top: 2px;
}

.zpc-opt-card--sm .zpc-opt-card-inner {
	padding: 8px 10px;
}

/* ===== NUMBER INPUT ===== */
.zpc-number-input {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.15s;
}

.zpc-number-input:focus-within {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.zpc-num-btn {
	width: 42px;
	height: 42px;
	border: none;
	background: transparent;
	font-size: 18px;
	font-weight: 600;
	color: #6366f1;
	cursor: pointer;
	transition: background 0.15s;
	flex-shrink: 0;
}

.zpc-num-btn:hover {
	background: #eef2ff;
}

.zpc-number-input input {
	flex: 1;
	border: none !important;
	background: transparent !important;
	text-align: center;
	font-size: 15px !important;
	font-weight: 600;
	color: #1e293b;
	padding: 8px !important;
	outline: none;
	width: 100% !important;
	-moz-appearance: textfield;
}

.zpc-number-input input::-webkit-inner-spin-button,
.zpc-number-input input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

/* ===== CALCULATE BUTTON ===== */
.zpc-calc-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	padding: 14px 24px !important;
	margin-top: 28px;
	background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s ease;
	text-decoration: none !important;
	line-height: 1.3 !important;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.zpc-calc-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.zpc-calc-btn:active {
	transform: translateY(0);
}

/* ===== RESULT COLUMN ===== */
.zpc-result-col {
	position: relative;
}

/* Empty State */
.zpc-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.8;
	background: #f8fafc;
	border: 2px dashed #e2e8f0;
	border-radius: 16px;
}

.zpc-empty-icon {
	margin-bottom: 12px;
}

.zpc-empty-state strong {
	color: #64748b;
}

/* Result Card */
.zpc-result-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	animation: zpc-slide-in 0.3s ease;
}

@keyframes zpc-slide-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.zpc-result-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.zpc-result-badge {
	font-size: 13px;
	font-weight: 700;
	color: #6366f1;
	background: #eef2ff;
	padding: 3px 12px;
	border-radius: 6px;
}

.zpc-result-date {
	font-size: 12px;
	color: #94a3b8;
}

/* Summary Rows */
.zpc-summary {
	padding: 16px 20px;
}

.zpc-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	font-size: 13px;
}

.zpc-summary-label {
	color: #64748b;
}

.zpc-summary-value {
	font-weight: 600;
	color: #1e293b;
}

.zpc-val-bold {
	font-weight: 700;
}

.zpc-text-green {
	color: #16a34a !important;
}

.zpc-divider {
	height: 1px;
	background: #e2e8f0;
	margin: 8px 0;
}

/* Total Block */
.zpc-total-block {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	padding: 20px;
	margin: 0 16px;
	border-radius: 12px;
	margin-bottom: 16px;
}

.zpc-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #f8fafc;
	font-size: 22px;
	font-weight: 800;
}

.zpc-unit-row {
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
	margin-top: 8px;
}

.zpc-unit-row strong {
	color: #a5b4fc;
}

/* Info Chips */
.zpc-info-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 20px;
	margin-bottom: 16px;
}

.zpc-chip {
	font-size: 11px;
	padding: 3px 10px;
	background: #f1f5f9;
	border-radius: 6px;
	color: #64748b;
	font-weight: 500;
}

/* Action Buttons */
.zpc-result-actions {
	display: flex;
	gap: 8px;
	padding: 16px 20px;
	border-top: 1px solid #e2e8f0;
}

.zpc-action-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.15s ease;
	text-decoration: none !important;
	line-height: 1.3 !important;
}

.zpc-action-btn--primary {
	flex: 1;
	justify-content: center;
	background: #6366f1 !important;
	color: #ffffff !important;
}

.zpc-action-btn--primary:hover {
	background: #4f46e5 !important;
}

.zpc-action-btn--ghost {
	background: transparent !important;
	color: #64748b !important;
	border: 1px solid #e2e8f0 !important;
}

.zpc-action-btn--ghost:hover {
	background: #f8fafc !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
	.zpc-hero { padding: 32px 24px; }
	.zpc-hero-title { font-size: 24px !important; }
	.zpc-body { padding: 24px; }
	.zpc-body-grid { grid-template-columns: 1fr; gap: 24px; }
	.zpc-field-row { flex-direction: column; gap: 12px; }
	.zpc-option-cards { flex-wrap: wrap; }
}
