/**
 * Export Timeline Calculator Styles
 *
 * @package FashionXpart
 */

.fxp-timeline-wrapper {
	font-family: 'Inter', sans-serif;
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 40px auto;
	padding: 20px;
	text-align: center;
}

/* Container */
.fxp-timeline-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	text-align: left;
}

/* Panels */
.fxp-timeline-input-panel,
.fxp-timeline-result-panel {
	background: #fff;
	border: 1px solid var(--fxp-calc-border);
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--fxp-calc-shadow);
}

.fxp-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}
.fxp-panel-icon { color: var(--fxp-calc-gold); flex-shrink: 0; }
.fxp-panel-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--fxp-calc-dark);
}

/* Input Groups */
.fxp-input-group {
	margin-bottom: 5px;
}
.fxp-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--fxp-calc-dark);
}
.fxp-label-icon {
	color: var(--fxp-calc-gold);
	flex-shrink: 0;
}

/* Country Buttons */
.fxp-country-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.fxp-country-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border: 2px solid var(--fxp-calc-border);
	background: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--fxp-calc-dark);
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: left;
}
.fxp-country-btn:hover {
	border-color: var(--fxp-calc-gold);
}
.fxp-country-btn.is-active {
	border-color: var(--fxp-calc-dark);
	background: var(--fxp-calc-dark);
	color: #fff;
	box-shadow: 0 2px 8px rgba(26, 26, 26, 0.2);
}
.fxp-country-code {
	font-weight: 700;
	font-size: 12px;
	background: rgba(0,0,0,0.06);
	padding: 2px 6px;
	border-radius: 4px;
	flex-shrink: 0;
}
.fxp-country-btn.is-active .fxp-country-code {
	background: rgba(255,255,255,0.2);
}

/* Quantity Input */
.fxp-qty-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 12px;
}
.fxp-qty-input {
	flex: 1;
	padding: 12px 14px;
	border: none;
	outline: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--fxp-calc-dark);
	background: transparent;
}
.fxp-qty-suffix {
	padding: 12px 14px;
	background: #f9f9f9;
	color: #666;
	font-size: 13px;
	font-weight: 600;
	border-left: 1px solid #ddd;
}

/* Quantity Presets */
.fxp-qty-presets {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.fxp-preset-btn {
	padding: 8px 16px;
	border: 1px solid var(--fxp-calc-border);
	background: #fff;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--fxp-calc-dark);
	cursor: pointer;
	transition: all 0.2s ease;
}
.fxp-preset-btn:hover {
	border-color: var(--fxp-calc-dark);
}
.fxp-preset-btn.is-active {
	background: var(--fxp-calc-dark);
	color: #fff;
	border-color: var(--fxp-calc-dark);
}

/* Timeline Steps */
.fxp-timeline-steps {
	margin-bottom: 20px;
}
.fxp-timeline-step {
	background: #fff;
	border: 1px solid var(--fxp-calc-border);
	border-radius: 10px;
	overflow: hidden;
}
.fxp-step-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
}
.fxp-step-left {
	display: flex;
	align-items: center;
	gap: 14px;
}
.fxp-step-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	flex-shrink: 0;
}
.fxp-step-icon-production {
	background: rgba(201, 162, 39, 0.1);
	color: var(--fxp-calc-gold);
}
.fxp-step-icon-shipping {
	background: rgba(26, 26, 26, 0.06);
	color: var(--fxp-calc-dark);
}
.fxp-step-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--fxp-calc-dark);
	margin-bottom: 2px;
}
.fxp-step-subtitle {
	font-size: 11px;
	font-weight: 600;
	color: #999;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.fxp-step-time {
	font-size: 16px;
	font-weight: 700;
	color: var(--fxp-calc-dark);
	white-space: nowrap;
}

/* Arrow */
.fxp-timeline-arrow {
	display: flex;
	justify-content: center;
	padding: 8px 0;
	color: #ccc;
}

/* Qty Display */
.fxp-timeline-qty-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: 700;
	color: var(--fxp-calc-dark);
}

/* Total */
.fxp-timeline-total {
	background: #fafafa;
	border: 2px solid var(--fxp-calc-gold);
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	margin-bottom: 20px;
}
.fxp-total-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #999;
	margin-bottom: 8px;
}
.fxp-total-value {
	font-size: 40px;
	font-weight: 800;
	color: var(--fxp-calc-dark);
	margin-bottom: 8px;
}
.fxp-total-unit {
	font-size: 18px;
	font-weight: 600;
	color: var(--fxp-calc-text-muted);
}
.fxp-total-desc {
	font-size: 13px;
	color: var(--fxp-calc-text-muted);
	line-height: 1.5;
}

/* Disclaimer */
.fxp-timeline-wrapper .fxp-disclaimer {
	font-size: 13px;
	color: var(--fxp-calc-text-muted);
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: center;
}

/* CTA */
.fxp-cta-wrap {
	text-align: center;
}
.fxp-cta-wrap .fxp-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--fxp-calc-dark) !important;
	color: #fff !important;
	text-decoration: none !important;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
}
.fxp-cta-wrap .fxp-whatsapp-btn:hover {
	background: #333 !important;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
	.fxp-timeline-container {
		grid-template-columns: 1fr;
	}
	.fxp-country-buttons {
		grid-template-columns: 1fr;
	}
	.fxp-total-value {
		font-size: 32px;
	}
}
