.tire-change-widget {
	margin: 30px 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tire-change-header {
	background: #667eea;
	color: white;
	padding: 25px;
	border-radius: 12px 12px 0 0;
	text-align: center;
}

.tire-change-header h3 {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 600;
	color:#fff;
}

.subtitle {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
	color:#fff;
}

.tire-change-table-wrapper {
	overflow-x: auto;
	background: white;
	border: 1px solid #e2e8f0;
	border-top: none;
}

.tire-change-table {
	width: 100%;
	border-collapse: collapse;
}

.tire-change-table thead {
	background: #f8fafc;
	border-bottom: 2px solid #e2e8f0;
}

.tire-change-table th {
	padding: 15px 12px;
	text-align: left;
	font-weight: 600;
	color: #334155;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.today-col, .when-col {
	text-align: center !important;
}

.tire-change-table td {
	padding: 15px 12px;
	border-bottom: 1px solid #f1f5f9;
}

.city-row {
	cursor: pointer;
	transition: background 0.2s;
}

.city-row:hover {
	background: #f8fafc;
}

.region-col strong {
	display: block;
	font-size: 15px;
	color: #1e293b;
}

.city-name {
	font-size: 13px;
	color: #64748b;
	margin-top: 4px;
}

.badge-yes, .badge-no {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 14px;
}

.badge-yes {
	background: #d1fae5;
	color: #065f46;
}

.badge-no {
	background: #fee2e2;
	color: #991b1b;
}

.when-now {
	color: #065f46;
	font-weight: 600;
	font-size: 15px;
}

.when-date {
	font-weight: 600;
	font-size: 15px;
	color: #92400e;
}

.date-text {
	font-size: 13px;
	color: #78716c;
	margin-top: 4px;
}

.when-unknown {
	color: #64748b;
	font-size: 14px;
}

.when-error {
	color: #dc2626;
	font-size: 14px;
}

.details-row {
	display: none;
	background: #fafafa;
}

.details-row.show {
	display: table-row;
}

.details-content {
	padding: 0 !important;
}

.message-box {
	padding: 15px 20px;
	color: #475569;
	font-size: 14px;
	line-height: 1.6;
	border-left: 3px solid #cbd5e1;
	margin: 0;
}

.stats {
	display: flex;
	gap: 20px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
	font-size: 13px;
	color: #64748b;
}

.tire-change-footer {
	background: #f8fafc;
	padding: 15px 20px;
	border: 1px solid #e2e8f0;
	border-top: none;
	border-radius: 0 0 12px 12px;
	text-align: center;
}

.tire-change-footer p {
	margin: 0;
	color: #64748b;
	font-size: 13px;
}

@media (max-width: 768px) {
	.tire-change-table {
		font-size: 13px;
	}
	
	.tire-change-table th,
	.tire-change-table td {
		padding: 10px 8px;
	}       
	
	.stats {
		flex-direction: column;
		gap: 8px;
	}
}   