/**
 * Rankings Seasons Styles
 * Stili per le sezioni stagioni nelle classifiche
 */

/* Sezione Stagione */
.season-section {
	margin: 30px 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease;
}

.season-section:hover {
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Header Stagione */
.season-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
}

.season-header:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-1px);
}

.season-header.active {
	background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.season-header h2 {
	margin: 0;
	color: white;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5em;
}

/* Icona Espandi/Comprimi */
.season-icon {
	display: inline-block;
	transition: transform 0.3s ease;
	font-size: 0.8em;
	min-width: 20px;
}

.season-header.active .season-icon {
	transform: rotate(0deg);
}

/* Badge Stagione */
.season-badge {
	font-size: 0.5em;
	padding: 5px 15px;
	border-radius: 20px;
	margin-left: auto;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.season-badge.current {
	background: #4CAF50;
	animation: pulse 2s infinite;
}

.season-badge.completed {
	background: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
	0%, 100% { 
		opacity: 1;
		transform: scale(1);
	}
	50% { 
		opacity: 0.7;
		transform: scale(1.05);
	}
}

/* Contenuto Stagione */
.season-content {
	padding: 30px;
	background: white;
	display: none;
}

.season-content h3 {
	color: #667eea;
	border-bottom: 2px solid #667eea;
	padding-bottom: 10px;
	margin-top: 30px;
}

.season-content h4 {
	color: #764ba2;
	margin-top: 25px;
}

/* Info Box */
.info-box {
	background: #f8f9fa;
	border-left: 4px solid #667eea;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 4px;
}

.info-box p {
	margin: 8px 0;
	color: #333;
}

.info-box strong {
	color: #667eea;
}

/* Alert Info */
.alert-info {
	background: #e3f2fd;
	border-left: 4px solid #2196F3;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 4px;
}

.alert-info p {
	margin: 0;
	color: #1565C0;
	font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
	.season-header {
		padding: 15px;
	}
	
	.season-header h2 {
		font-size: 1.2em;
		flex-wrap: wrap;
	}
	
	.season-badge {
		font-size: 0.6em;
		padding: 4px 10px;
		margin-left: 0;
		margin-top: 10px;
	}
	
	.season-content {
		padding: 20px 15px;
	}
	
	.info-box,
	.alert-info {
		padding: 12px 15px;
	}
}