.ostc-widget-container {
	margin: 2rem 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.ostc-widget {
	display: flex;
	align-items: center;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	border: 1px solid #eaeaea;
	padding: 20px 24px;
	gap: 24px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ostc-widget:hover {
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}
.ostc-widget-header {
	flex: 1;
	min-width: 200px;
}
.ostc-event-title {
	margin: 0 !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	line-height: 1.4 !important;
}
.ostc-widget-body {
	flex: 2;
	display: flex;
	gap: 20px;
	align-items: center;
	border-left: 1px solid #eaeaea;
	padding-left: 24px;
}
.ostc-nearest-event {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ostc-badge {
	display: inline-block;
	background: #e6f2f9;
	color: #007EC1;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	align-self: flex-start;
}
.ostc-event-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ostc-date {
	font-weight: 700;
	color: #111827;
	font-size: 1rem;
}
.ostc-location {
	color: #6b7280;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	gap: 4px;
}
.ostc-location::before {
	content: "📍";
	font-size: 0.8em;
}
.ostc-upcoming-events {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ostc-upcoming-title {
	font-size: 0.875rem;
	color: #6b7280;
	font-weight: 500;
}
.ostc-upcoming-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-right: 10px;
}
.ostc-upcoming-item {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
	padding-bottom: 4px;
	border-bottom: 1px solid #f3f4f6;
}
.ostc-upcoming-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.ostc-widget-footer {
	flex: 0 0 auto;
}
.ostc-btn-register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #007EC1;
	color: #ffffff !important;
	text-decoration: none !important;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	transition: background 0.2s ease, transform 0.1s ease;
	white-space: nowrap;
}
.ostc-btn-register:hover {
	background: #006aa3;
}
.ostc-btn-register:active {
	transform: scale(0.98);
}

/* Responsywność */
@media (max-width: 900px) {
	.ostc-widget {
		flex-direction: column;
		align-items: stretch;
		padding: 24px;
		gap: 20px;
	}
	.ostc-widget-body {
		flex-direction: column;
		border-left: none;
		border-top: 1px solid #eaeaea;
		padding-left: 0;
		padding-top: 20px;
		align-items: stretch;
	}
	.ostc-widget-header, .ostc-widget-footer {
		text-align: center;
	}
	.ostc-btn-register {
		width: 100%;
		box-sizing: border-box;
	}
	.ostc-badge {
		align-self: center;
	}
	.ostc-event-details {
		align-items: center;
	}
	.ostc-upcoming-title {
		text-align: center;
	}
}
