/* FP Repair Tracker — public stylesheet */
.fprt-tracker {
	max-width: 720px;
	margin: 2em auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1f2937;
}

.fprt-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fprt-title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
}

.fprt-intro {
	color: #6b7280;
	margin: 0 0 24px;
}

.fprt-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.fprt-form label {
	display: block;
	margin-bottom: 16px;
}

.fprt-form label span {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}

.fprt-form input[type="text"],
.fprt-form input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 16px;
	box-sizing: border-box;
}

.fprt-form input:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.fprt-submit {
	background: #0ea5e9;
	color: #fff;
	border: 0;
	padding: 12px 24px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.fprt-submit:hover {
	background: #0284c7;
}

/* Header */
.fprt-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.fprt-eyebrow {
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}

.fprt-ref {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.fprt-current-status {
	color: #fff;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* Meta grid */
.fprt-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	margin: 0 0 24px;
	padding: 16px;
	background: #f9fafb;
	border-radius: 8px;
}

.fprt-meta dt {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	margin-bottom: 2px;
}

.fprt-meta dd {
	margin: 0;
	font-weight: 600;
	font-size: 14px;
}

/* Fault */
.fprt-fault {
	background: #fefce8;
	border-left: 3px solid #f59e0b;
	padding: 12px 16px;
	margin-bottom: 24px;
	border-radius: 0 6px 6px 0;
}

.fprt-fault h3 {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #92400e;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fprt-fault p {
	margin: 0;
	font-size: 14px;
	color: #1f2937;
}

/* Timeline */
.fprt-timeline-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 16px;
	color: #374151;
}

.fprt-timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}

.fprt-timeline::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 12px;
	bottom: 12px;
	width: 2px;
	background: #e5e7eb;
}

.fprt-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 10px 0;
	position: relative;
}

.fprt-step-dot {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #e5e7eb;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.fprt-step-done .fprt-step-dot {
	background: #10b981;
	border-color: #10b981;
}

.fprt-step-done .fprt-step-dot::after {
	content: '✓';
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	line-height: 1;
}

.fprt-step-current .fprt-step-dot {
	background: #0ea5e9;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
	animation: fprtPulse 2s ease-in-out infinite;
}

@keyframes fprtPulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2); }
	50% { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1); }
}

.fprt-step-body {
	flex: 1;
	padding-top: 2px;
}

.fprt-step-label {
	font-weight: 600;
	color: #1f2937;
	font-size: 15px;
}

.fprt-step-pending .fprt-step-label {
	color: #9ca3af;
	font-weight: 500;
}

.fprt-step-time {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.fprt-footnote {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	font-size: 13px;
	color: #6b7280;
}

/* WC My Account table */
.fprt-account-table {
	width: 100%;
	border-collapse: collapse;
}

.fprt-account-table th,
.fprt-account-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.fprt-account-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
}

/* Empty state */
.fprt-account-empty {
	text-align: center;
	padding: 48px 24px;
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
}

.fprt-account-empty-icon {
	color: #9ca3af;
	margin-bottom: 12px;
	display: inline-flex;
}

.fprt-account-empty-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #374151;
}

.fprt-account-empty-text {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.fprt-card { padding: 20px; }
	.fprt-header { flex-direction: column; }
	.fprt-meta { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
}
