/* Club Cards */
.club-card .club-card-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    min-height: 200px;
}

.club-logo {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
}

.club-logo.grayscale {
    filter: grayscale(100%) opacity(0.5);
}

.club-description {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.club-card-inactive {
    opacity: 0.8;
    cursor: default;
}

.club-card-inactive:hover {
    transform: none;
    border-color: transparent;
}

.club-inactive-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.club-inactive-notice p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Club Profile Page */
.club-profile-header {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.club-header-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.club-logo-large {
    flex-shrink: 0;
}

.club-logo-large img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
}

.club-info {
    flex: 1;
}

.club-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.club-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.club-description-full {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.club-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.club-stats-section {
    margin-bottom: 2rem;
}

.club-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.watching {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.stat-icon.entered {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.club-races-section {
    margin-bottom: 3rem;
}

.club-races-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Fix search icon positioning */
.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    width: 20px;
    height: 20px;
    pointer-events: none;
}   

/* Mobile responsiveness for clubs */
@media (max-width: 768px) {
    .club-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .club-logo-large img {
        width: 150px;
        height: 150px;
    }
    
    .club-info h1 {
        font-size: 1.75rem;
    }
    
    .club-links {
        justify-content: center;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    } 
    
}