/* Feribot Seferleri İptal Takibi - Frontend Styles (loaded conditionally on shortcode pages only) */

.fsi-widget,
.fsi-widget * {
	box-sizing: border-box;
}

.fsi-widget {
	margin: 1.25em 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #0f172a;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.fsi-card {
	background: #ffffff;
	border: 1px solid #e6eaef;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}

.fsi-item,
.fsi-empty {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 22px;
}

.fsi-item + .fsi-item {
	border-top: 1px solid #edf0f4;
}

/* Left Date Square (active cancellation) & Green Check Square (normal state) */
.fsi-date-badge,
.fsi-status-icon {
	flex: 0 0 54px;
	width: 54px;
	min-height: 56px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	user-select: none;
}

.fsi-date-badge {
	background: #f5e6df;
	padding: 6px 4px;
}

.fsi-date-day {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
	color: #8c371c;
}

.fsi-date-month {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #9a4526;
	margin-top: 2px;
}

.fsi-status-icon {
	background: #dcfce7;
	color: #15803d;
}

/* Right Content Column */
.fsi-content {
	flex: 1 1 auto;
	min-width: 0;
}

.fsi-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px 0;
}

.fsi-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
}

.fsi-badge--cancel {
	background: #f5e6df;
	color: #8c371c;
}

.fsi-badge--ok {
	background: #dcfce7;
	color: #166534;
}

.fsi-meta-info {
	font-size: 13.5px;
	font-weight: 500;
	color: #475569;
}

.fsi-dot {
	margin: 0 4px;
	color: #94a3b8;
}

.fsi-widget p.fsi-message {
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.55;
	color: #0f172a;
	word-break: break-word;
}

.fsi-widget p.fsi-message--ok {
	font-weight: 600;
	color: #14532d;
}

.fsi-inline-checked {
	font-weight: 500;
	font-size: 13.5px;
	color: #475569;
	margin-left: 4px;
}

.fsi-sources-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.fsi-widget a.fsi-source-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0077a3;
	text-decoration: none;
	box-shadow: none;
	border: 0;
	transition: color 0.15s ease;
}

.fsi-widget a.fsi-source-link:hover,
.fsi-widget a.fsi-source-link:focus {
	color: #005577;
	text-decoration: underline;
}

.fsi-arrow {
	font-size: 14px;
	line-height: 1;
}

/* Footer Disclaimer & Timestamp */
.fsi-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 14px 22px;
	border-top: 1px solid #edf0f4;
	background: #ffffff;
	font-size: 13px;
	color: #64748b;
	line-height: 1.45;
}

.fsi-disclaimer {
	flex: 1 1 280px;
}

.fsi-last-checked {
	font-size: 12.5px;
	color: #64748b;
	white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 560px) {
	.fsi-item,
	.fsi-empty {
		gap: 14px;
		padding: 16px;
	}

	.fsi-date-badge,
	.fsi-status-icon {
		flex: 0 0 46px;
		width: 46px;
		min-height: 48px;
		border-radius: 10px;
	}

	.fsi-date-day {
		font-size: 17px;
	}

	.fsi-date-month {
		font-size: 10px;
	}

	.fsi-widget p.fsi-message {
		font-size: 14.5px;
	}

	.fsi-footer {
		padding: 12px 16px;
		font-size: 12.5px;
	}
}
