/* ============================================
   TOURNAMENT LIST
   Tournament Cards and Status Badges
   ============================================ */

.tournament-list {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.5rem;
}

.tournament-card {
	position: relative;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
	padding: 20px;
}

.tournament-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #3FAE7C;
}

.tournament-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	gap: 12px;
	padding: 10px 0;
	flex-direction: row;
	position: relative;
}

.tournament-name {
	font-size: 1.1rem;
	margin-bottom: 0;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	text-align: left;
	flex: 1;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	white-space: nowrap;
	flex-shrink: 0;
}

.status-draft {
	background: var(--brand-grey-light);
	color: white;
}

.status-open {
	background: var(--brand-orange);
	color: white;
}

.status-ongoing {
	background: #10b981;
	color: white;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.status-completed {
	background: #6b7280;
	color: white;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.85;
	}
}

.tournament-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 -20px -20px -20px;
	padding: 16px 20px;
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: #4b5563;
	line-height: 1.4;
}

.meta-item .icon {
	font-size: 1rem;
	width: 1.25rem;
	text-align: center;
	flex-shrink: 0;
	opacity: 0.7;
}

.meta-item .text {
	flex: 1;
}

.tournament-card .cta-btn {
	width: 100%;
	text-align: center;
	margin: 0;
	display: block;
	position: relative;
	z-index: 10;
	pointer-events: auto;
	box-sizing: border-box;
	border-radius: 0 0 12px 12px;
	background: #3FAE7C;
	font-weight: 600;
	padding: 1rem;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
	transition: all 0.2s ease;
	box-shadow: none;
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tournament-card .cta-btn:hover {
	background: #2e8c5a;
	transform: none;
}

/* Responsive Tournament List Adjustments */
@media (max-width: 600px) {
	.tournament-name {
		font-size: 1.15rem;
	}
	
	.status-badge {
		font-size: 0.7rem;
		padding: 0.3rem 0.7rem;
	}
	
	.meta-item {
		font-size: 0.9rem;
	}
	
	.meta-item .icon {
		font-size: 1rem;
	}
}

@media (min-width: 900px) {
	.tournament-name {
		font-size: 1.5rem;
	}
}
