/* SpinDance Schedule Cards - self-contained styles */

.spsc-container {
	padding: 1rem 0;
}

/* Grid layout */
.spsc-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.spsc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.spsc-grid.spsc-col-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.spsc-grid.spsc-col-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.spsc-grid.spsc-col-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Card */
.spsc-card {
	background: #2b2b3d;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

/* Card Header */
.spsc-card-header {
	background: linear-gradient(135deg, #6a3de8, #8b5cf6);
	padding: 0.85rem 1.1rem;
	font-weight: 600;
	font-size: 1.05rem;
	color: #ffffff;
}

/* List */
.spsc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.spsc-list-item {
	padding: 0.85rem 1.1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spsc-list-item:last-child {
	border-bottom: none;
}

/* Item top row: time left, badge right */
.spsc-item-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

/* Badge */
.spsc-badge {
	display: inline-block;
	padding: 0.3em 0.75em;
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	border-radius: 50px;
	white-space: nowrap;
}

.spsc-badge-duza {
	background-color: #7c3aed;
}

.spsc-badge-mala {
	background-color: #4a5568;
}

/* Time */
.spsc-time {
	font-weight: 700;
	font-size: 1rem;
	color: #ffffff;
	white-space: nowrap;
}

/* Description */
.spsc-desc {
	margin-top: 0.4rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #cbd5e0;
}

/* Status */
.spsc-status {
	font-weight: 600;
	font-size: 0.85em;
}

.spsc-status-otwarte {
	color: #48bb78;
}

.spsc-status-zamkniete {
	color: #fc8181;
}
