/* Championship Management Styles */

.championship-management-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.championship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.championship-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.championship-card:hover {
    transform: translateY(-5px);
}

.championship-card .card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.championship-card h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.championship-card p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.control-btn.primary { background: #007bff; }
.control-btn.secondary { background: #6c757d; }
.control-btn.success { background: #28a745; }
.control-btn.info { background: #17a2b8; }

.control-btn:hover { 
    opacity: 0.9; 
    transform: translateY(-1px);
}

.stats-display {
    margin: 15px 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label { font-weight: 500; }
.stat-value { font-weight: bold; }

.championship-results {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.close-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.alert.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot.checking { 
    background: #ffc107; 
    animation: pulse 1s infinite; 
}

.status-dot.active { background: #28a745; }
.status-dot.error { background: #dc3545; }

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